> >I'm using VFP 3.0. My reindexing include opening of Table
> >Exclusively, Reindexingd, Packing and closing the Table. After
> >the process, I reopen the Table. Then how could I "re-issue" the
> >browse for the Grid to display the records? Pls advise.
> Uhh.. Closing the table used in a Grid is the favorite subject of discussion in the Thread...
> What you can do is:
> THISFORM.Grid1.RecordSource = " " && one space between the quotes
> USE IN tablename && close the table
> USE tablename IN 0 EXCLUSIVE && open it again
> PACK && reindex is free..
> THISFORM.Grid1.RecordSource = "tablename" && attach the grid
> Another way, is to recreate the grid, but you need a class..
> Have fun!!
Thank you very much! It works! Reassign of the Grid Table
is required at THISFORM.Grid1.RecordSource="tablename"
Once again thank you.
-Alvin (S'pore)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement