Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
tablerevert in Grid
Message
From
09/12/1997 15:09:24
 
 
To
09/12/1997 14:58:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00063641
Message ID:
00064764
Views:
85
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform