Hi!
You can also read the VFP Grids Part I article in the August 2001 issue of the Universal Thread T Magazine on this site. It is about grid reconstruction that is similar to your problem.
>That's about what I'm doing.
>The only thing I build my SQl statment in my source code
>
>ex.
>
>Initialy :
>SELECT * from MEMBER into cursor tmpMemebre
>Thisform.myGrid.RecordSourceType = 1
>Thisform.myGrid.RecordSource = 'tmpMemebre'
>
>Later :
>SELECT * from MEMBER M WHEER M.MemDate < DATE() into cursor tmpMemebre
>Thisform.myGrid.RecordSourceType = 1
>Thisform.myGrid.RecordSource = 'tmpMemebre'
>Thisform.myGrid.Refresh
>
>The grid never gets the control back, it just freezes
>I also tried, removing my Grig object and adding it back on the fly, same thing.
>
>
>
>
Haroutunian Antranik>
Yerevan, Armenia>
ADANA SOLUTIONS INC.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.