D
dchendrickson
I am using Access2002/XP Pro.
I have a form with a subform displaying records in the
datasheet view. When a record is selected in the subform
and deleted, the code managing the delete process is
somewhat complex.
As it stands, I suspect my code would melt down if a user
were to select more than one record and then delete. So
until I have some "spare time" and can fortify my code, I
would like to check if more than one record has been
selected, instruct the user to only delete one at a time,
then cancel the operation.
Is there a 'canned' method or property that I can put in
the Form_Delete() event that will return the number of
records selected in the datasheet view of the subform?
Thanks in advance.
-dc
I have a form with a subform displaying records in the
datasheet view. When a record is selected in the subform
and deleted, the code managing the delete process is
somewhat complex.
As it stands, I suspect my code would melt down if a user
were to select more than one record and then delete. So
until I have some "spare time" and can fortify my code, I
would like to check if more than one record has been
selected, instruct the user to only delete one at a time,
then cancel the operation.
Is there a 'canned' method or property that I can put in
the Form_Delete() event that will return the number of
records selected in the datasheet view of the subform?
Thanks in advance.
-dc