Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you handle Grid Delete Column/Method?
Message
 
 
À
06/05/1998 09:10:43
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00096634
Message ID:
00097285
Vues:
26
>This way we handle the deletion ourselves. Deleting two records instead of one.... hmm, it's kind of contradictory; as if there was some Set Deleted On/Off swapping during the method execution (both the default and/or custom).

I had set deleted on, issued a delete in the method, did not have nodefault, so when the method code ended, it issued its own delete on the currently selected record which was the record after the one I clicked on.

>Made myself smile for a moment: instead of "if deleted()... recall... else... delete... endif" I started typing "this.deleted=!this.deleted". An unintentional prophecy?

LOL :) I have done that too [this.deleted()] in actual code. Took me more time than I care to admit to figure out what I did.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform