G
Guest
I want to use a single date obtained from the user on each record in a
current data entry session. The date is captured in a dialog box linked to a
one field table.
I have placed code in the data entry form's ON LOAD event to assign the
value to a static date varible and set the value of the form's date field on
the initial record. I then attempted to place code in the form's AFTER UP
DATE event to reset the form's date control for the next record, but the
static variable is not holding its value, so obviously I have misunderstood
its scope. Is there a good way to pass the value to each new record short of
redefining the value after each move to new record, i.e. by moving the code
in the form's On LOAD event to something that fires with each record update.
DM
current data entry session. The date is captured in a dialog box linked to a
one field table.
I have placed code in the data entry form's ON LOAD event to assign the
value to a static date varible and set the value of the form's date field on
the initial record. I then attempted to place code in the form's AFTER UP
DATE event to reset the form's date control for the next record, but the
static variable is not holding its value, so obviously I have misunderstood
its scope. Is there a good way to pass the value to each new record short of
redefining the value after each move to new record, i.e. by moving the code
in the form's On LOAD event to something that fires with each record update.
DM