>Is there a fuction to tell me if a text box value has changed during an edit. I show data on a form with all the txt boxes disabled. The user can hit an EDIT command button that then enables all txt boxes and then a SAVE or CANCEL button. I know of several ways to do it programmatily but is there an easy way?
John,
The easiest way I know of is also probably the oldest. In you abstract textbox class, add the property .oldValue.
In the GetFocus() event of the control, add the line:
.oldvalue = .value
Now if the user edits the value, .oldvalue will not be equal to value -- something that is easy to check at any time.
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.