stopping pageDown from inserting new records

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