Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
tablerevert in Grid
Message
 
To
09/12/1997 14:58:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00063641
Message ID:
00064762
Views:
78
You didn't miss anything. There is a problem -- dare I say it BUG -- in refreshing grids directly. Change your refresh lines to be like the following:

thisform.pageframe.page1.refresh()

This will refresh the entire page as well as the grid.


>>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
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform