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

    Prepopulate subform with multiple records


    Hey there,

    I'm struggling with the following challenge. I have a mainform with header information and a subform with details (datasheet view). Based on the value of a mainforms' combobox I would like to prepopulate multiple records of the subform so the user can add/modify the values for the 3rd column (please see attached image). Does anybody know how to do this?

    Thanks so much!

  2. #2
    Join Date
    Apr 2011
    Posts
    18
    In the afterUpdate Event of the combobox, you would need to add code to insert the values into the relevant table, and then requery the subform.

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

Similar Threads

  1. Sorting subform records
    By Remster in forum Forms
    Replies: 4
    Last Post: 11-17-2010, 10:39 AM
  2. Replies: 3
    Last Post: 11-05-2010, 03:10 PM
  3. Adding multiple records in subform
    By randolphoralph in forum Programming
    Replies: 1
    Last Post: 05-12-2010, 09:42 PM
  4. Replies: 1
    Last Post: 12-10-2009, 08:41 PM
  5. Subform with no records
    By Bamstick in forum Access
    Replies: 1
    Last Post: 11-18-2009, 03:59 PM

Tags for this Thread

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