Hi Raymond,
Grids don't like it when you recreate your data source via a new SQL statement. I don't remember the whole story, but, if you can, you are better off creating a parameterized view and change the parameter and requery the view as needs dictate.
>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05