
Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
I have since changed the code. I used blobal variables to store my needed
information when the Delete event fired and then used them in the
AfterDeleteConfirm event go get around the problem.
Before, I was using the value of a check box on the subform where the record
was being deleted. The value of the check box became invalid on the
AfterdeleteConfirm event. The code was similiar to:
if cboPointsAssigned = True then
Do something
end if
I also put some message box displays is the Delete, BeforeDeleteConfirm and
the AfterDeleteConfirmEvent and the events fired in the following order:
Delete
BeforeDeleteConfirm
AfterDeleteConfirm
I do not know if this was the order they fired before the upgrade. If looks
like the record is now becoming invalid before it should.
If you would like to contact me via the phone, my number is (502)627-4192.
Thanks,
Tony
> Hmm, then it is strange, because both BeforeConfirmDelete and
> AfterConfirmDelete occure before Delete event. can you post your code from
[quoted text clipped - 24 lines]
> >> > just
> >> > fine in 2002 and they said no changes had been made to it. Any ideas?
Alex Dybenko - 05 May 2005 07:00 GMT
Hi Tony,
yes, of course you right, delete occurs before *confirm events,sorry,
messed this with other control.
Anyway - great that you found a workaround
Alex
>I have since changed the code. I used blobal variables to store my needed
> information when the Delete event fired and then used them in the
[quoted text clipped - 64 lines]
>> >> > fine in 2002 and they said no changes had been made to it. Any
>> >> > ideas?
Tony Traylor - 05 May 2005 16:44 GMT
Why did this change. I sould not have had to find a work around. How can I
be assured this work around will work in the next version? Will this problem
be fixed?
> Hi Tony,
> yes, of course you right, delete occurs before *confirm events,sorry,
[quoted text clipped - 71 lines]
> >> >> > fine in 2002 and they said no changes had been made to it. Any
> >> >> > ideas?
Alex Dybenko - 05 May 2005 19:39 GMT
Well, this i dont know, and not sure that somebody can tell you.
also depends on your code...

Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
> Why did this change. I sould not have had to find a work around. How
> can I
[quoted text clipped - 86 lines]
>> >> >> > fine in 2002 and they said no changes had been made to it. Any
>> >> >> > ideas?