G
Guest
As stated in my previous post I'm attempting to move from bound forms to
unbound forms. As a result I need to determine when data on my form has
changed so that I can ask my user whether they want to save their changes.
Now from what I understand, I'm supposed to add a hidden checkbox on my form
with a default value of false. And whenever a field on my form changes I
should have my checkbox value changed to true and then based on my checkbox
value my save function will run.
The part where I am confused, I know this is probably something very simple,
is am I supposed to create an afterupdate event procedure for every field on
my form to set my checkbox value to true? or is there a single public
function that I can write to have it scan through the fields on my form and
determine whether any of the field values have changed? Basically I don't
want to have to type "Flagedited = true" 30 times for each field.
I have another question too. Is there a way to count the amount of records
from the current record up to .bof and then assign that value to a record
number textbox on my form?
Thanks a ton to those who can help me.
Jonathan
unbound forms. As a result I need to determine when data on my form has
changed so that I can ask my user whether they want to save their changes.
Now from what I understand, I'm supposed to add a hidden checkbox on my form
with a default value of false. And whenever a field on my form changes I
should have my checkbox value changed to true and then based on my checkbox
value my save function will run.
The part where I am confused, I know this is probably something very simple,
is am I supposed to create an afterupdate event procedure for every field on
my form to set my checkbox value to true? or is there a single public
function that I can write to have it scan through the fields on my form and
determine whether any of the field values have changed? Basically I don't
want to have to type "Flagedited = true" 30 times for each field.
I have another question too. Is there a way to count the amount of records
from the current record up to .bof and then assign that value to a record
number textbox on my form?
Thanks a ton to those who can help me.
Jonathan