BobJacksonNCI
Technical User
Hello!
I previously posted - thread958-733421 - but still have the problem that Users can use navigation buttons (standard) to advance to a new record repeatedly with no subform records created. This leaves orphans in the "one" table.
Environment = Access 2000 Project with SQL 7 engine.
Forms are used to enter new records and view/edit existing records.
Using a Form populated based on Select statement with parameter from another form (employee selection). Subform uses a stored procedure with parameter to maintain synchronization with the main form.
Example: User wants to enter a new Time Off request.
Selects employee in selection form.
Selects button that brings up Time Off form/subform.
(Each form can have up to eight subform records.)
Logic finds existing Time Off records and presents the most recent one.
User uses > button, or >* button until form with blank subform appears.
User inadvertently selects > again, resulting in a new form record with blank subform (ready for data entry).
BUT, there has already been stored a form record with no subform record - which is what I want to avoid.
I started experimenting with creating my own navigation buttons. These are on the form, so this approach will likely require working with a recordset clone - which I use in the subform for validation.
But I'm wondering if I can't manipulate the Allow Additions property to stop these unwanted orphans. Keep in mind that I would prefer having navigation buttons at the form level only...
Sorry for the long read - trying to provide all information that is needed.
Thanks in Advance!
I previously posted - thread958-733421 - but still have the problem that Users can use navigation buttons (standard) to advance to a new record repeatedly with no subform records created. This leaves orphans in the "one" table.
Environment = Access 2000 Project with SQL 7 engine.
Forms are used to enter new records and view/edit existing records.
Using a Form populated based on Select statement with parameter from another form (employee selection). Subform uses a stored procedure with parameter to maintain synchronization with the main form.
Example: User wants to enter a new Time Off request.
Selects employee in selection form.
Selects button that brings up Time Off form/subform.
(Each form can have up to eight subform records.)
Logic finds existing Time Off records and presents the most recent one.
User uses > button, or >* button until form with blank subform appears.
User inadvertently selects > again, resulting in a new form record with blank subform (ready for data entry).
BUT, there has already been stored a form record with no subform record - which is what I want to avoid.
I started experimenting with creating my own navigation buttons. These are on the form, so this approach will likely require working with a recordset clone - which I use in the subform for validation.
But I'm wondering if I can't manipulate the Allow Additions property to stop these unwanted orphans. Keep in mind that I would prefer having navigation buttons at the form level only...
Sorry for the long read - trying to provide all information that is needed.
Thanks in Advance!