How to keep users out when no current record?


L

LAS

I have a bound form which typically has no current record when it is first
opened. The user needs to put data into some unbound controls and then I
execute a me.requery. How do I keep them from clicking on controls in the
form that have no record behind them, and thus triggering code that will
result in "no current record" errors? Is there an easier way than
individually disabling every bound control until a record is retrieved?

tia
las
 
Ad

Advertisements

L

LAS

Never mind. I got the answer from a different thread. If I turn
"allowadditions" off the controls aren't there until a record is. I'll turn
it on in an Add button and then off again.
 

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