Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why won't deleted method fire?
Message
From
01/04/2001 01:03:00
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00490682
Message ID:
00490684
Views:
9
>Using vfp5...
>
>I have a grid on a form that I want the deleted event to fire on. I have
>a command button that does...
>
>
>select childtable
>delete
>thisform.refresh
>
>
>If I click the deletemark the deleted event will fire but using the
>command button code it will not. Any ideas?

If the table is buffered, you might have to commit the changes with TABLEUPDATE(). I'm not sure why you wouldn't need to do that when hitting the grid DeleteMark, but grids have some interesting behaviour of their own...
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform