|
On ADD page you might want to prepopulate some edit boxes with
recently used values. This can be done using combination of Default
values and BeforeAdd Event.
Let's say at the end of day you need to enter several data records
for each Employee. To prepopulate Date and Employee fields with last
entered values you need to the following:
1. Set Default values of those fields to Session("Date")
and Session("Employee")
respectively. This can be done on the Formatting tab.
2. Use BeforeEdit Event to save Date and Employee values in Session variables
Session("Date") = dict("Date")
Session("Employee") = dict("Employee")
|