Results 1 to 6 of 6
  1. #1
    ash128kwil is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3

    Two databases to create one report

    Hi I am having some trouble getting my head around the following,



    One database displays bought items, model no, price, date etc. Another contains items sold.

    I want to create a report to show the stock level of an item so bought minus sold and also a report on say profits.

    How do I go about doing this in access as I'm fairly new to the software.

    Thanks a lot
    Ash

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,959
    Do you have a table of all products in your inventory?

    Do aggregate (GROUP BY, Totals) queries on the Purchases and Sales tables.

    Join the aggregate queries to the Products table.

    Use that query as the RecordSource for a report.

    It will get a bit more complicated if you want to restrict the data over a specific period and need 'Beginning Balance' value for the calcs.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jake32008 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    3
    I'm by no means an expert as I am also fairly new compared to many in this forum but you can pull in the relevant tables with the information you need from the other database from selecting 'External Data'=>'Import & Link'=>'Access'=>Browse for table=>'Link' so the table is dynamic and updates as the other database updates. Once you pull this in you'll be able to pull in the data your wanting for the report. This is by no means comprehensive but I hope it is clear enough to help.

  4. #4
    ash128kwil is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3
    Hi again,

    All i have currently is two databases.

    Bought and Sold

    I am really quite new to access and the things you have said I have no idea what they mean! I will do some research into what you have said and see what I come up with!

    If you have anymore "Noob friendly" advice I would be grateful!

    Thanks again,
    Ash

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,959
    ash, do you have two databases (meaning two separate files) or two TABLES (meaning two datasets in the same file)?

    Did you attempt my suggestion? Access Help has detailed guidance on building aggregate (Totals) query. This is basic Access functionality and any introductory reference book should also have info.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    ash128kwil is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3
    Hi, I currently have 2 tables (sorry my access lingo is not up to scratch!)

    I will have a look into the building aggregate thanks for the suggestion!

    Ash

Please reply to this thread with any new information or opinions.

Similar Threads

  1. How to create report
    By jags281173 in forum Reports
    Replies: 3
    Last Post: 08-09-2012, 02:27 AM
  2. how to create report
    By ngu059 in forum Reports
    Replies: 3
    Last Post: 01-19-2011, 04:46 PM
  3. Create PDFs from a report
    By twosides in forum Programming
    Replies: 42
    Last Post: 03-04-2010, 06:48 AM
  4. Create a date 'from' - 'to' on Report
    By Jule in forum Reports
    Replies: 7
    Last Post: 12-07-2006, 02:34 AM
  5. Create a calendar report?
    By valkyry in forum Reports
    Replies: 0
    Last Post: 09-14-2006, 11:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums