K
Kent
I have a subform in datasheet view. If a user wants to
delete records in the subform, they can highlight those
records via the recordselectors and press delete. I need
to identify those records and retrieve data from those
selected subform records before they are deleted. I know
to perform my test within the Form_BeforeDelConfirm event
of the subform before the records are actually deleted.
But, the ItemsSelected property seems to apply only to
controls, not forms or subforms, so I can't perform
my "For Each ... " statement.
I feel like I'm making this too hard or it's so obvious I
can't see the solution.
How do I identify the selected records in the subform
before they are deleted?
delete records in the subform, they can highlight those
records via the recordselectors and press delete. I need
to identify those records and retrieve data from those
selected subform records before they are deleted. I know
to perform my test within the Form_BeforeDelConfirm event
of the subform before the records are actually deleted.
But, the ItemsSelected property seems to apply only to
controls, not forms or subforms, so I can't perform
my "For Each ... " statement.
I feel like I'm making this too hard or it's so obvious I
can't see the solution.
How do I identify the selected records in the subform
before they are deleted?