How to catch how many records the user delets on a continues form?

N

NormanF

H ithere,

Which event would I have to use, to trap, if the User deletes 1 or more records at the time??

I want to know how many are deleted at one time, though that I can build some action around this situation.

Kind Regards

Norman
 
A

Allen Browne

The form's Delete event fires once for every record being deleted, so you
could get the count from there.

Haven't tried, but you may be able to read SelHeight in Form_Delete.

Form_BeforeDelConfirm is too late: they are already gone (inside a
transaction) by that stage.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

NormanF said:
H ithere,

Which event would I have to use, to trap, if the User deletes 1 or more records at the time??

I want to know how many are deleted at one time, though that I can build
some action around this situation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top