youngchestnut
Programmer
Hi all,
I have a table called FinalResults which contains 1 field 'Result'. A form links to this table (in continuious form view) and when the form is loaded displays all the results in the FinalResult table. The user can change any of the results shown. What I want to be able to do is to 'rollback' or 'undo' ALL of the changes that the user may have made, on the click of a button ie. set the value of the records back to what they were at the point the form was loaded.
I thought I would be able to do by populating an array when the form was loaded but because (as I soon found out) I can't have a Public array this has proved fruitless.
Secondly I thought that I would be able to populate a Public recordset on form load but, strange to say, this recordset changes dynamically as the user changes the values. That I can't get my head around!!
There may be a really easy way of doing this but I'll be stuffed if I know what it is.
Love you forever if you can help me.
Love and peace
I have a table called FinalResults which contains 1 field 'Result'. A form links to this table (in continuious form view) and when the form is loaded displays all the results in the FinalResult table. The user can change any of the results shown. What I want to be able to do is to 'rollback' or 'undo' ALL of the changes that the user may have made, on the click of a button ie. set the value of the records back to what they were at the point the form was loaded.
I thought I would be able to do by populating an array when the form was loaded but because (as I soon found out) I can't have a Public array this has proved fruitless.
Secondly I thought that I would be able to populate a Public recordset on form load but, strange to say, this recordset changes dynamically as the user changes the values. That I can't get my head around!!
There may be a really easy way of doing this but I'll be stuffed if I know what it is.
Love you forever if you can help me.
Love and peace