Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    sconnors is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2017
    Posts
    10

    Quote Originally Posted by Preston View Post
    You are trying to relate your autonumber ID field in p.o. to p.o. number in payments. When you use auto identity fields, they should be independent of the data so there would be no relationship. Relate p.o. number to p.o. number
    Is this how it should look?
    Click image for larger version. 

Name:	Access.PNG 
Views:	8 
Size:	26.4 KB 
ID:	29502

  2. #17
    Preston is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2017
    Posts
    55
    Yes. Now, vendorid should be in putcase orders, not vendorname. And kill the space in Purchase Orders. TPurchaseOrders, for example.

    Also, I noticed you have a blanket/normal field. If you can have multiple invoices against a blanket p.o., you need a separate Invoices table.

  3. #18
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,919
    Did you read post 15? PONumber in [Purchase Orders] must now be defined as the primary key.

    Suggest the names be slightly different to avoid confusion in queries. Something like PONumber_PK and PONumber_FK.

    Same with VendorName. Since the VendorName field in [Purchase Orders] doesn't really have the name, just the ID, maybe VendorNameID or use the PK and FK suffixes.
    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.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 09-14-2015, 06:05 PM
  2. Running total
    By edwardcga in forum Reports
    Replies: 1
    Last Post: 11-28-2013, 12:04 PM
  3. Running Total Query??
    By kwooten in forum Queries
    Replies: 8
    Last Post: 06-15-2012, 06:10 AM
  4. Running Total (Cumulative)
    By jamesborne in forum Queries
    Replies: 3
    Last Post: 12-26-2011, 09:30 PM
  5. Running total
    By lololthis in forum Queries
    Replies: 5
    Last Post: 06-21-2011, 04:14 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