Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you handle Grid Delete Column/Method?
Message
 
 
To
06/05/1998 09:10:43
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00096634
Message ID:
00097285
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform