When you need to learn if a field has been changed by the user, you have at least three options:
- you can use a global boolean variable and set it in the control’s Change event, or
- you can save the original value in global variable to compare it against the current value
- you can use the EM_GETMODIFY message with the SendMessage API functions (only for textboxes)
This means that you can spot which fields have been modified even if you are using DAO methods without a Data Control, and even if you are not using DAO or the Jet Engine at all. Remember however that it’s up to you to reset the property value to False when you show a new set of values.