>Hi, Jean-Ren
>
>I'm in Guangzhou city, PRC.
>VFP is a popularize language in China.
>Only me in my project.
>
>I have a problem with grid. Can you help me?
>That is:
>I do sql again, but the grid become a blank area. Why? How to resolve this problem?
>
>Thanks,
>
>Raymond
Raymond-
you are more likely to get a response to this question by creating a new thread. But here's the answer anyway:
When you recreate the cursor that a grid is based on, it destroys the cursor first, and the grid gets confused. The solutoin is to set the RecordSource =
"" before re-running your SQL, and then reset it afterwards.
Erik Moore
Clientelligence