what is the recommended way to do this?

T

Tom Hanley

1. I want to be able to open a form
2. populate it from a table
3. allow user to make changes but not change the table until the user
presses the "submit" button. I can't do the checking in each field on the
fly because some fields would rely on others on the form and it should be
checked just before updating the record or creating a new record.
 
R

Rick Brandt

Tom Hanley said:
1. I want to be able to open a form
2. populate it from a table
3. allow user to make changes but not change the table until the user
presses the "submit" button. I can't do the checking in each field on the
fly because some fields would rely on others on the form and it should be
checked just before updating the record or creating a new record.

No need for a [Submit] button. You can use the BeforeUpdate event of the
form (not individual controls) and perform any validation testing you want.
BeforeUpdate fires just before the record is saved and can be cancelled if
the validation fails.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top