My form stores multiple records of payment against an invoice. TablePayment should always have at least 1 record for each invoice. This record has a field containing the InvoiceNumber, and other fields to be filled in at the time of a payment. User is able to delete payments in case of error.
Is there a way to know how many records the user has selected to delete on this form? I can then check to see if that equals the total number of payment records on file and can intervene with the BeforeDelConfirm event if user is about to delete all records.
I am using Access 2002.
Is there a way to know how many records the user has selected to delete on this form? I can then check to see if that equals the total number of payment records on file and can intervene with the BeforeDelConfirm event if user is about to delete all records.
I am using Access 2002.