Results 1 to 4 of 4
  1. #1
    Faeyren is offline Novice
    Windows 10 Access 2007
    Join Date
    Feb 2017
    Posts
    4

    Add new entry from subdatasheet

    I am trying to make it so that I can add new (receipts) to my (repairs) table.



    So for example, if I am replacing carpet and go to home depot for parts on 2/23 then again on 2/25 I can attach the (Receipts) to the (repair)

    I can do it with the repairID. But what I would like to do is when I hit the subdatasheet for that particular dropdown, it automatically puts in the repairID?
    Attached Thumbnails Attached Thumbnails SUBDATA.png  

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    You should be using a form. A parent/child form.
    put in combo boxes where needed.
    the child form, would link to the repair id, and put it in for you.

  3. #3
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    You should not work directly with tables. Use a form, or in your case a Form for Repair and a subform for Receipt. The linking field would be the RepairId. From a design perspective you would have a tblRepair and a tblReceipt. These would be set up in a 1 to Many relationship. (!Repair may have 1 or Many Receipts)

    Good luck.

  4. #4
    Faeyren is offline Novice
    Windows 10 Access 2007
    Join Date
    Feb 2017
    Posts
    4
    I will try these. Thanks

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

Similar Threads

  1. SubDatasheet Assistance Needed
    By Faeyren in forum Access
    Replies: 2
    Last Post: 02-22-2017, 10:27 AM
  2. subdatasheet totals
    By Perceptus in forum Queries
    Replies: 3
    Last Post: 09-06-2016, 02:35 PM
  3. 2x SubDataSheet in web database
    By Cazca in forum Access
    Replies: 1
    Last Post: 12-06-2015, 10:52 AM
  4. Exporting subdatasheet
    By DHIGHTO in forum Import/Export Data
    Replies: 3
    Last Post: 01-28-2015, 12:53 PM
  5. Problem with subdatasheet
    By bryanno in forum Access
    Replies: 1
    Last Post: 03-13-2010, 08:23 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