Results 1 to 2 of 2
  1. #1
    azzap is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2013
    Posts
    1

    Form and query design for multiple table data entry

    I have an Access 2007 backended DB with that I want to have the functionality to add multiple lines of data (in a datasheet form) that involves 3 different tables.
    The tables are set out as follows:
    Asset Table: ID_Asset (PK), ID_AssetType, AssetNumber, OurAssetDesc
    ML Table: LineID (PK), US_MH_ID, DS_MH_ID, Diameter, Length
    MH Table: ManholeNo (PK), Type, MHDepth, Material



    The Asset.AssetNumber field can be either an ML.LineID or an MH.ManholeNo so I'm wondering the best way to design the form?
    Would I need 2 forms or can I create a query to update either table based on the ID_AssetType?
    What query would be best or would SQL be a better option?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,974
    Would require two forms for ML and MH tables. Can place them as subforms on pages of a table control on another form.
    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.

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

Similar Threads

  1. Replies: 5
    Last Post: 08-12-2013, 12:53 AM
  2. Replies: 1
    Last Post: 10-28-2012, 02:54 PM
  3. Data Entry & Multiple Table Reference
    By dr4ke in forum Access
    Replies: 14
    Last Post: 06-22-2012, 08:23 AM
  4. Replies: 1
    Last Post: 12-15-2011, 04:26 AM
  5. Replies: 1
    Last Post: 11-19-2011, 10:36 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