Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reference individual records of a continuous form Access 2000

Status
Not open for further replies.

briansmithdanisco

IS-IT--Management
Jun 13, 2007
19
US
I have a continuous form that has a record source of an existing query. Based on a tag setting in the form, the query can return one to many records for the form to display.

How can I loop through the records that are displayed in the continuous form? I need to write out the records that get displayed to a different table and also add some additional data that will be added to some of the records being displayed in the form. I was going to use VBA to update the second table, but I do not know how to loop through the listing and pull the data for each line from the continuous form.

Thanks.
 
You can use the RecordsetClone property to create a recordset to loop through, however, it may be quicker to create an append query from the RecordSource.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top