one record at a time

A

ake

hi!can somebody help me to set my form to allow additions only once?Meaning
every time the form is opened it would allow additions but not more than once.

Thanks!
 
J

John W. Vinson

hi!can somebody help me to set my form to allow additions only once?Meaning
every time the form is opened it would allow additions but not more than once.

Thanks!

You could close the form in the form's AfterUpdate event, but I cannot imagine
any reason why you would want to annoy your users in this way!

What's the logic here? Why do you feel the need to do this?
 
M

Mr. B

ake,

With your form in design view and the Properties dialog box open, modify the
following properties of your form:
On the Format Tab:
Record Selectors = No
Navigation buttons = No

On the Data tab:
Data Entry = Yes
This change will cause the form to only allow new records to be added.
If you want to use this form to edit the same data, then you would not want
to keep this setting.

On the Other tab:
Cycle = Current Record

-----
HTH
Mr. B
http://www.askdoctoraccess.com/
Doctor Access Downloads Page:
http://www.askdoctoraccess.com/DownloadPage.htm
 

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