stopping pageDown from inserting new records

D

DigitalVinyl

We have a form that when you pageDown past the last record
automatically inserts new blank records. This causes problems with
linked records not being created and job numbers being skipped. What
is the easiest way to stop the form from passing beyond last record?
DiGiTAL_ViNYL (no email)
 
M

Marshall Smith

Set the Form's AllowAdditions property to No. Assuming you want the user to
create a new record at some point, put code in the New Record command button
to set AllowAdditions to True and then add a new record. In the AfterInsert
event of the form, set AllowAdditions back to False.
 

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