Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you handle Grid Delete Column/Method?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How do you handle Grid Delete Column/Method?
Miscellaneous
Thread ID:
00096634
Message ID:
00096634
Views:
58
The most confounding part of the grid is the delete column. I really want/need to use this feature, but it drives me crazy. What I want to do is fire code to recalculate invoice totals when a user clicks the delete column next to an item. However, the item is not "truly" deleted until after the code in the Grid delete method fires. The Deleted() function, if used in the method code, always returns the opposite value of what the record will be after the method code is executed. The recalculation does not reflect the correct total because the wanna-be deleted item is not yet deleted.

Anyone care to shed some light on how you handle this? TIA.
Mark McCasland
Midlothian, TX USA
Next
Reply
Map
View

Click here to load this message in the networking platform