Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why won't deleted method fire?
Message
De
01/04/2001 01:03:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00490682
Message ID:
00490684
Vues:
8
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform