Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing Grid After Deleting and Packing the database
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00952475
Message ID:
00952480
Views:
7
>On my form, I have a grid object assoicated with this form. And when I delete and pack the database file my grid goes blank. How can I maintain my grid and data information in the grid?
>
>
>Thank You In Advance
>
>
>
>Winfred Majors

Before the pack, set the rowsource of the grid to blank, then pack and then reset the rowsource of the grid, something like:

thisform.somegrid.rowsource = ''
pack
thisform.somegrid.rowsource = 'myTable'

Hugo
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform