Hi!
Grid.RecordSource = ""
{refresh your data here}
Grid.RecordSource = "MyAliasForGrid"
You can read more details about this in the VFP Grids Part I article in the UT magazine, August 2001 issue (this article is also available through articles section here).
HTH.
>I have a data add/edit/delete form with a grid whose control source is a query, and the query is pulling data from four tables. When I add, edit or delete a record via the form, the data in the associated tables gets updated properly, but the grid upon refresh() ends up a blank white space. Can someone give me some ideas on what to do to get the grid to refresh properly after the query is refreshed...
>
>Thanks,
>Adam
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.