E
Eric
I have the need to create a sequence id on a subform for records that relate
to the master record on the main form. The form and subform linkage works
great, I am building packages of inventory items for later import into a sql
based application. Each inventory package has a parent record, and each
inventory item added to the package needs a sequence ID beginning with 1 and
incrementing to however many items the user owns. I have a package_id field
as the linkage key between the forms and an autonumber on the subform.
Please advise as to what vba code would be most effective at:
1. Establish the max sequence # and increment for new records.
2 Perform a check of the sequence number on current for edits and deletions
by the user.
Many thanks for any help or direction. I am new to access-vb...
to the master record on the main form. The form and subform linkage works
great, I am building packages of inventory items for later import into a sql
based application. Each inventory package has a parent record, and each
inventory item added to the package needs a sequence ID beginning with 1 and
incrementing to however many items the user owns. I have a package_id field
as the linkage key between the forms and an autonumber on the subform.
Please advise as to what vba code would be most effective at:
1. Establish the max sequence # and increment for new records.
2 Perform a check of the sequence number on current for edits and deletions
by the user.
Many thanks for any help or direction. I am new to access-vb...