Thanks, good replies. However...
More detail:
I have “locked down” Access to behave as a stand alone application. The user will launch a desktop shortcut that launches a Main Menu modal form that is all they see centered on the screen. No tables, no forms, no navigation etc. only the Main Menu dashboard with multiple buttons.
One primary button launches a new form overtop the Main Menu form (pop up) that provides editing of existing records and an “add new record” button. (This second form is bound to one table.) The new record button blanks the fields (macro via the button wizard) and I’d like the current date to be inserted into my named “DateBox” field, which is bound to a field on the table named “Date.”
Caveat: the Access table behind this form is linked to a SQL Server so I cannot set the default property of the field on the table. Access says I must make changes on the source database. Unfortunately, SQL is locked down so I can’t modify the tables and even if I did, the SQL table wouldn’t write the date to the Access form upon form loading. I need the form date field to write to SQL when it syncs.
Pat: can I use a BeforeInsert event via VBA for a button on an existing form? In other words, the button uses a standard New Record macro event to clear the fields, but doesn’t open a new form. At what point does the new record get inserted into the table- not until a field is dirtied, or right upon the New Record button click event? So, instead of the limited macro behind the button can I use VBA to insert a new record with a field populated with current date value and have that value displayed on the currently open form (and, in turn, written to the SQL table upon synchronization)...
(Composed on an iPhone, please excuse typos.)