I am trying to load certain data from a table into a recordset and then working with it without affecting the data in the tables.
The idea is to post all records in a table (given a certain criteria) randomly one by one, and when one has been displayed, it needs to be deleted from the recordset (but not the table!) so it does not randomly show up again.
My problem thus being, if I use rst.delete it will not just delete the record in my recordset, but also the data in the table. Is it possible to create such a unlinked set of records where you can modify as you please without affecting database data?
I use the following code to load up my recordset:
thanks!
The idea is to post all records in a table (given a certain criteria) randomly one by one, and when one has been displayed, it needs to be deleted from the recordset (but not the table!) so it does not randomly show up again.
My problem thus being, if I use rst.delete it will not just delete the record in my recordset, but also the data in the table. Is it possible to create such a unlinked set of records where you can modify as you please without affecting database data?
I use the following code to load up my recordset:
Code:
Set rst = db.OpenRecordset("SELECT * FROM tblVragen WHERE categoriecode = '" & strCategoriecode & "'")
Comment