I have a subform (details) in a main form (header). The detail form is in datasheet view. My users want the ability to input data in the detail form & when they press Enter from any field it should add a new record. I have the code that will trap the Enter key and go to a new record in the activeobject. My code is in the Keydown event of the Detail form and is a case statement. Case 1 the F3 is pressed & I need to open a new form. Case 2 the Enter key is pressed & I need to add a new record.
Will testing for keys in the keydown of a form considerably slow the app since every keystroke is tested? Is there an alternate way without a button (I copy several fields from the previous line item when the Enter key is pressed) Thanks in advance for your help. Access 2002 in multiuser FE/BE environment.
Will testing for keys in the keydown of a form considerably slow the app since every keystroke is tested? Is there an alternate way without a button (I copy several fields from the previous line item when the Enter key is pressed) Thanks in advance for your help. Access 2002 in multiuser FE/BE environment.