R
Robert
Need some help with the following problem. (Microsoft Access 2003)
I use a form as an interface for one table. An user must fill all fields and
at the end the application must create an unique ID (wrote VBA code to do
that).
Now i use a button to create the ID and save the values. But it also creates
a unique ID when not all fields are filled and when leaving a field Access
already saves the value from the previous field.
All fields are set to required in my table. So not filling in a field causes
a standard Access error message. But I don't like this kind of error
handling.
So I need some help to force that all fields are filled, the application
creates an ID and save the values.
Regards,
Robert
I use a form as an interface for one table. An user must fill all fields and
at the end the application must create an unique ID (wrote VBA code to do
that).
Now i use a button to create the ID and save the values. But it also creates
a unique ID when not all fields are filled and when leaving a field Access
already saves the value from the previous field.
All fields are set to required in my table. So not filling in a field causes
a standard Access error message. But I don't like this kind of error
handling.
So I need some help to force that all fields are filled, the application
creates an ID and save the values.
Regards,
Robert