Access 2003
I am looping through records in a recordset. While looping and reading, for each record I want to write to one field of one of the tables and store a calculated value.
I want to update a recordset, but this recordset is composed of multiple tables, and cannot be updated. I just want to update one field on one table, that is part of the recordset. Can this be done?
Here is the recordset I am looping through.
The recordset involves 2 left joins and a total of 3 tables. Can I even do what I want inside the loop, or do I have to store a list of keys and values I want to update, and update them after the recordset is closed, and outside the loop?
Thanks.
I am looping through records in a recordset. While looping and reading, for each record I want to write to one field of one of the tables and store a calculated value.
I want to update a recordset, but this recordset is composed of multiple tables, and cannot be updated. I just want to update one field on one table, that is part of the recordset. Can this be done?
Here is the recordset I am looping through.
Code:
Set Myset = mydb.OpenRecordset(sqlstuff, dbOpenDynaset)
Myset.MoveFirst
Myset.MoveLast
cnt = Myset.RecordCount
Myset.MoveFirst
Thanks.
Last edited: