>Hi, How I can to refresh a grid from query ?
>
>Thanks for your help.
Basically you need to set the Grid RecordSource = "", then rebuild your cursor from query, then reassign the RecordSource again (and possibly column.ControlSources if your grid layout is customized).
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison