The easiest way is to store the value in a database table.
make a tbl_constants for example, containing 1 row, and store the value of the option on exit in the column option3default
As I mentioned, if you open the form in design mode, and make a change, and close the form with save as option, it will take.
Tomvddiun's option also works. Using that method will allow you to use the control's after update event to replace the data in the table, then each new record, not just when it's opened, will always have the last value used.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.