Set Focus to a null value in a continuous form

K

Kevin D.

In continuous FormA I have a field named "Purchased". Before closing FormA,
I have a proceedure which checks for a null value for "Purchased" in all
records and prevents closing the form if there is a null value. My question
is this.... If 1 out of say 10 records has a null value in field "Purchased",
is there a way to get the focus to the record with the null value after I
prevent FormA from closing?

Thanks,

kd
 
B

Beetle

If it is against your business rules to have a null value in the Purchased
field, then you should not be waiting until the the forms Close event
to enforce the rule! You should be doing it at the table level or in the forms
Before Update event.
 

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