>>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