Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loosing grid configuration
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Loosing grid configuration
Divers
Thread ID:
00244242
Message ID:
00244242
Vues:
48
I have a grid that the RecordSource is a cursor:
mygrid.recordsource='myCursor'

if I regenerate the cursor to get the latest data from myTable with:
select * from myTable into cursor myCursor

I have to do this in order to get the new info displayed:
mygrid.recordsource='myCursor'
mygrid.refresh()

After all this I get the new data displayed but I loose any grid or column configuration that the grid had previously.

Any tips on preventing to loose the configuration or at least an easy way to save the hole grid (inlcuding colunms) configuration to restore after the cursor regeneration?
Jorge Flores
From the Amigo Country
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform