Results 1 to 3 of 3
  1. #1
    rajsa is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2010
    Posts
    5

    Creating several new records in a table based on a number entered in a form

    Hello,



    I am building a database to log laboratory samples. I have two tables: tblSample and tblReplicates:

    tblSample
    ID
    Strain
    Protocol
    Project
    Date
    No_Replicates

    tblReplicates
    ID
    SampleID (from tblSample:ID)
    Location

    Ideally the user would enter the number of replicates in tblSample, and this would automatically create x number of records in tblReplicates so the user would just need to enter a location for each, say on a subform. The number of replicates will vary.

    Any help greatly appreciated )

  2. #2
    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
    Do you have an authoritative list of Locations? This could be in a combo on the data entry form.

  3. #3
    rajsa is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2010
    Posts
    5
    Quote Originally Posted by orange View Post
    Do you have an authoritative list of Locations? This could be in a combo on the data entry form.
    I do, but that still doesn't solve my problem of needing to create x number of records (one for each replicate), ideally without the user having to create these manually.

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

Similar Threads

  1. Replies: 1
    Last Post: 07-26-2012, 10:51 AM
  2. Replies: 3
    Last Post: 02-01-2012, 08:19 AM
  3. Replies: 3
    Last Post: 12-01-2011, 06:51 AM
  4. Replies: 4
    Last Post: 07-27-2011, 12:42 PM
  5. Replies: 1
    Last Post: 01-31-2009, 10:43 AM

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