SharonLove
Programmer
Hi,
I have many controls (mostly textboxes) on a form which get their data from a recordset.
The user enters or changes data in the text boxes and either clicks a save button or users a certain function key to save the changes.
The button works fine, but with the function key, the last control that the cursor is on does not run through the validate method.
The lost focus doesn't work for this either.
calling: Text1_Validate(Cancel As Boolean) doesn't work because I do not know which control needs to be called.
What is the generally accepted method used for a situation like this, as it is obvious that there are many possible solutions.
Sharon
I have many controls (mostly textboxes) on a form which get their data from a recordset.
The user enters or changes data in the text boxes and either clicks a save button or users a certain function key to save the changes.
The button works fine, but with the function key, the last control that the cursor is on does not run through the validate method.
The lost focus doesn't work for this either.
calling: Text1_Validate(Cancel As Boolean) doesn't work because I do not know which control needs to be called.
What is the generally accepted method used for a situation like this, as it is obvious that there are many possible solutions.
Sharon