Preventing going on to next record until certain fields are comple

G

Guest

If my Text Box (date format) is filled in, I do not want my Combo Box to be
left blank. If Text Box is left blank, it doesn't matter if Combo Box is
left blank.
If Text Box has been filled in and Combo Box has been left blank, I would
like to prevent the user from going on to the next record until Combo Box has
been filled in. If we can incorporate a warning message that would be great.
I have a table as the record source for the form.
Many thanks
Anne
 
J

Jeff Boyce

Anne

It sounds like you could use the BeforeUpdate event of the form to validate
what's been entered. You may also wish to take a look at the Cycle
property, which you could set to CurrentRecord to prevent the user from
accidentally tabbing to the next record.
 

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