Results 1 to 2 of 2
  1. #1
    argsemapp is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2013
    Posts
    18

    Multiple data entries on a form


    I'm learning Access/VBA. Basically I have a form that generates a report. Right now I've got the form working for a single entry, but now I need to be able to handle multiple entries of the same type- "Alloy Name" (lookup from a combobox) and "Lot Number" (user inputs this number).

    i.e. I want to have a box where user selects "How many records" (could be 1-20), then my form will appear n-times for data entry. Ultimately I want to pass the SQL lookups for all these records to the report.

    What is the best way to accomplish this? It seem subforms are the way to go, but will having 20 of the same subforms on a single form cause any issues? If the subform is repeated n-times, how do I reference the different instances of the combobox/lot number?

    Thanks in advance

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Not really understanding. Why would form have to be opened 20 times? Just move to a new record and enter new data. VBA code can 'carry forward' values from previous new record to the next new record by setting the DefaultValue property of controls.

    Review https://www.accessforums.net/forms/r...rds-38447.html
    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: 2
    Last Post: 11-18-2013, 10:30 AM
  2. Importing Multiple entries into a form
    By KayZee08 in forum Import/Export Data
    Replies: 3
    Last Post: 03-12-2013, 01:16 PM
  3. Replies: 4
    Last Post: 01-04-2013, 04:03 PM
  4. Create multiple entries with same data
    By swavemeisterg in forum Forms
    Replies: 6
    Last Post: 05-30-2012, 10:16 AM
  5. Multiple entries wanted in Form
    By taspangler in forum Access
    Replies: 3
    Last Post: 05-02-2011, 12:41 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