Results 1 to 3 of 3
  1. #1
    Subhunter is offline Novice
    Windows XP Access 2000
    Join Date
    Nov 2010
    Location
    New Hampshire
    Posts
    8

    Question Relationships and pulling data.

    Please see attached for Relationship Design.



    I am setting up an Invoice Log to generated Invoice numbers and show what items have been shipped. This is not for billing.

    I have set up a Query and Form for Invoices Log, Order Line Items and Orders.PurchaseOrderNumber. This works just fine as is. My quandry is that I need to use the Order Details.UnitPrice instead of the Order Line Items.UnitPrice. This way I can match up the unit price in the order with what we're invoicing. We need to do this in order to match up the correct price with what we charged.

    I have hit a wall in trying to tie these together. Any suggestions would be most helpful. Is this something easy to do or am I looking at something more in depth that is outside my expertise?

    Thanks,

    Jeff

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    The InvoicesLog table need only be joined to the OrdersTable, in terms of relationships.

    Because Orders has relationships to Details, Customers, etc....you will be able to pull in the data from these other tables in a form's record source when you make that query.

    Categories-Products-OrderLineItems : look to me to be inventory. I don't see why an 'InvoiceID' would be in inventory; that should be in the sales area (Orders-Details-Log)

    But it is only a cursory look, and difficult to give overly precise advice on something like this via a forum.

    Hope this helps a little.

  3. #3
    Subhunter is offline Novice
    Windows XP Access 2000
    Join Date
    Nov 2010
    Location
    New Hampshire
    Posts
    8
    NTC,

    Thanks. I think I got it. Now I have to find fixes for filtering the data that I need.

    Jeff

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

Similar Threads

  1. Pulling Specific Data from Excel
    By DICKBUTTONS in forum Access
    Replies: 1
    Last Post: 11-19-2010, 11:23 AM
  2. Replies: 1
    Last Post: 08-22-2010, 12:25 PM
  3. Have 3 tables - problem with pulling data for query
    By wulfhund in forum Database Design
    Replies: 2
    Last Post: 08-13-2010, 05:38 AM
  4. Pulling only certain data from tables.
    By stevman22889 in forum Access
    Replies: 2
    Last Post: 07-15-2010, 06:23 PM
  5. Pulling most recent data from child table
    By davidv43 in forum Access
    Replies: 0
    Last Post: 02-07-2009, 11:36 AM

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