How do I avoide multiple firing of confirmation code in OnBeforeDelete event?
- From: "Keith G Hicks" <krh@xxxxxxxxxxx>
- Date: Sun, 26 Jun 2005 16:34:03 -0400
I noticed a recent post with the subject "Don't want to delete from
secondary table".
I was doing something similar and then read this post. I was not aware of
the "UniqueTable" property. It works fine on my system. Cool. But there's a
problem. If I select several rows in a grid and then hit the Delete key, my
confirmation code in the OnBeforeDelete event fires once for each row that
was selected. My previous code which was probably similar to Jon's did not
have that problem because I was aborting during the OnBeforeDelete code.
What's the best solution for this type of problem?
Thanks,
Keith
.
- Follow-Ups:
- Re: How do I avoide multiple firing of confirmation code in OnBeforeDelete event?
- From: Brian Bushay TeamB
- Re: How do I avoide multiple firing of confirmation code in OnBeforeDelete event?
- Prev by Date: Re: txt to dbf
- Next by Date: Re: sql question
- Previous by thread: txt to dbf
- Next by thread: Re: How do I avoide multiple firing of confirmation code in OnBeforeDelete event?
- Index(es):