Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing Grid After Deleting and Packing the database
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00952475
Message ID:
00952480
Vues:
8
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform