Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
tablerevert in Grid
Message
De
09/12/1997 15:09:24
 
 
À
09/12/1997 14:58:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00063641
Message ID:
00064764
Vues:
90
>>DE means DataEnvironment. You can set property in Form Designer or programmatically using Thisform.DataEnvironment.CursorX....., or using Cursorsetprop().
>
>I have it worked now. Thanks for your help. But now, I have another question. Sorry for having that many questions.
>
>Once I have the tables reverted, the information showing on the grids did not get "refreshed". I use the following code on reverting my tables.
>
>SELECT child1
>=tablerevert(.T.)
>=thisform.pageframe.page1.grid1.refresh()
>
>SELECT child2
>=tablerevert(.T.)
>=thisform.pageframe.page2.grid2.refresh()
>
>SELECT child3
>=tablerevert(.T.)
>=thisform.pageframe.page3.grid3.refresh()
>
>SELECT parent
>=tablerevert(.T.)
>thisform.refresh()
>
>Did I miss something on "refreshing" the screen?
>
>
>Chu

It looks Ok. If you are absolutely positive that grids are not refreshed properly, but data is really reverted, then there is one good way to force grid to be true:
Local cRecordsource
With Thisform.Grid1
cRecordsource=.Recordsource
.Recordsource=cRecordsource
.Refresh
Endwith
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform