Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any method to refresh the grid?!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00318847
Message ID:
00319085
Vues:
18
>if i just update the recordsource, the setting of the grid will change back to it orginal setting..
>but is that the only way i can do?

I'm not sure what you mean. I just double checked and I don't lose the grid formatting when I do it.
LOCAL lcSource

* Update data in cursor
* (fill in your code here)

* Reset the grid to show updated data

lcSource = THISFORM.Grid1.RecordSource
THISFORM.Grid1.RecordSource = ""
THISFORM.Grid1.RecordSource = lcSource
You're not changing the name of the RecordSource, are you?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform