Quote:
Originally Posted by Birky
I’m hoping you can help me get my form to work. I have a few issues that I need to get squared away.
1. I am using a form for data entry only therefore I need the form to pop with the next available record. If I can get the form to load and be ready for input, making it as simple as possible for the user to enter records without having to navigate to the end of the database would be helpful.
In the form properties, under the data tab, set the Data Entry property to Yes.
Quote:
2. I have an event_create_timestamp within a form in which I would like to auto populate when the form loads (same form as question number 1). Can I get the form to auto populate the field so the user does not have to? I currently have the field enactive so they can see it just not alter it.
In the field (controls) properties under the data tab, set the default value to Now()
Quote:
3. Can you help me with a clear all fields in case they enter bogus data and want to start over before the record is saved to the database? It would be nice to clear all the data they may have entered and place them back into a scenario where they can carry on and append a record to the database.
You need to put the following line of code behind a command button on the form.
[PHP]
DoCmd.DoMenuItem acFormBar, acEditMenu, acUndo, , acMenuVer70
[/PHP]
Mary