B
Bob Quintal
HI,
I have a popup single form that gets its data from a table with
one field. I want to only allow the user to enter one new item
and then exit the form. I have the the code " DoCmd.GoToRecord
, , acNewRec" in the form open event. This sends my form to a
new record. I have a close button that closed the form and that
works fine. The problem is that if the user enters data and
presses "Enter" another blank field opens and the user can make
another entry. I tried placing "Me.AllowAdditions = False" after
the acNewRec code, but that didn't work.
How can prevent the user from making more than one entry?
Thanks,
There is a form property called Cycle (on the Other tab). Set it to
Current Record. Also set the Navigation Buttons property (Format
tab) to no.