Hey guys...
Ive come to a problem using an updateable parameterized view - vModiCust.
I call a modal form with a parameter lcCustId. i then requery vModiCust. I have set the control source for all my txtboxes to the VModiCust fields.
The user can change the customer information, throughout the form, but when they are done, I have a "Done" cmdButton that askes if they want to "save" or "cancel". When the user selects "Cancel", the view is still updating my table.
Is there someway to revert back to the old values if they select cancel? It wouldnt be like oldVal, because there are 15 txtboxes on the form that could change.
I tried tablerevert(.t., "MainTable"
, but that doesnt seem to work. Any suggestions?
thanks
Angie
Ive come to a problem using an updateable parameterized view - vModiCust.
I call a modal form with a parameter lcCustId. i then requery vModiCust. I have set the control source for all my txtboxes to the VModiCust fields.
The user can change the customer information, throughout the form, but when they are done, I have a "Done" cmdButton that askes if they want to "save" or "cancel". When the user selects "Cancel", the view is still updating my table.
Is there someway to revert back to the old values if they select cancel? It wouldnt be like oldVal, because there are 15 txtboxes on the form that could change.
I tried tablerevert(.t., "MainTable"
thanks
Angie