Results 1 to 3 of 3
  1. #1
    zimzala20 is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    4

    How do I link Purchase Form and Dispersal Form

    I am new to access but have taken a course on operation. I have to track equipment purchases which I do with a form. The question I have is I will be dispersing this equipment at different times and to different places.

    How do I link these dispersals to the original purchase order?!?!

    Any help would be greatly appreciated!!!

  2. #2
    wdrspens is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2011
    Posts
    35
    I would use two tables with an autonumber in the Purchase table and a foreign number in the Dispersal table set as number, not autonumber.
    Specifically use two tables, one for the Purchases, say PurchaseT and the other for the Dispersals, say DispersalT, and use autonumber for the PurchaseID, autonumber for the DispersalID, but number for the foreign key in the DispersalT table, say, PurchID, although there is no reason why it should not also be called PurchaseID, however using a different name avoids confusion.
    Then link the PurchaseID in the PurchaseT table in a one to many relationship to the PurchID in the DispersalT table. It would be best to chose the join method to show all the records from the Purchase table and only those from the Dispersal table that are equal. That way you would see which of the items purchased have not been disposed of at any given time.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    In addition to the advice offered by wdrspens, the underlying issue is table/database structure. You need to get the appropriate tables configured before focusing on Forms.

    There are data models and business rules related to Purchase Orders here

    http://www.databaseanswers.org/data_...ders/index.htm
    http://www.databaseanswers.org/data_...ders/facts.htm

    If you want to understand more of why this is important, see
    http://www.rogersaccesslibrary.com/forum/topic238.html and review the first 3 topics at least.

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

Similar Threads

  1. Replies: 6
    Last Post: 07-21-2010, 05:25 PM
  2. Help With Purchase Order Form
    By SpeedyApocalypse in forum Forms
    Replies: 29
    Last Post: 04-09-2010, 07:06 PM
  3. Link PDF on form
    By Cae in forum Forms
    Replies: 3
    Last Post: 01-09-2010, 07:49 AM
  4. Link unbound form to bound form
    By Papote in forum Forms
    Replies: 0
    Last Post: 09-25-2008, 07:42 PM
  5. How do link a web form to a access db ?
    By Al in forum Programming
    Replies: 0
    Last Post: 03-16-2006, 06:09 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