D
Dale Fye
I've not tried this before, but in a new application I'm working on, I have a
form with a bunch of subforms. Whenever I move from the main form to the
subforms, and back, the changes to the controls on the form are saved.
What I'm thinking about is:
1. When I go to a new record on the main form, I begin a transaction.
2. If I change data on the main form or in one of the subforms, I enable
two buttons ("Cancel", and "Save") and disable the navigation buttons.
3. The Save and Cancel buttons would remain enabled until one or the other
is clicked, at which time the transactions would be committed or rolled back,
the other navigation buttons would be enabled, and Cancel and Save would be
disabled.
Does this make sense?
I've been looking for some code for these methods, but most if the code I've
found is embedded at the beginning and end of a bunch of SQL statements.
Does anyone know whether this will work with linked Sharepoint lists?
form with a bunch of subforms. Whenever I move from the main form to the
subforms, and back, the changes to the controls on the form are saved.
What I'm thinking about is:
1. When I go to a new record on the main form, I begin a transaction.
2. If I change data on the main form or in one of the subforms, I enable
two buttons ("Cancel", and "Save") and disable the navigation buttons.
3. The Save and Cancel buttons would remain enabled until one or the other
is clicked, at which time the transactions would be committed or rolled back,
the other navigation buttons would be enabled, and Cancel and Save would be
disabled.
Does this make sense?
I've been looking for some code for these methods, but most if the code I've
found is embedded at the beginning and end of a bunch of SQL statements.
Does anyone know whether this will work with linked Sharepoint lists?