How to keep users out when no current record?

  • Thread starter Thread starter LAS
  • Start date Start date
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
 
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.
 
Back
Top