Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an event on the fly
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00515711
Message ID:
00515783
Views:
13
Einar,

Don't PACK the table, it's causing the grid to self destruct and rebuild itself with VFP baseclass controls. This is why you are losing your custom code and properties in the grid. All you have to do is a SKIP to get the deleted records "out" of the grid.

PACK is something you really only want to do in a database maintenance program anyway, not every time a user deletes a single row.

>After the record has been deleted and the table packed the grid is blank ie. all its properties are set to default.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform