>Mark,
>
>It was: thisform.SortGrid1.Refresh
> Alias not found.
The Alias not found error indicates to me the RecordSource property of the grid still may not blank. Another thing is there is no need to refresh the grid if the RecordSource is blank or the RecordSource is not available yet. You might consider changing your code to something like:
IF NOT EMPTY(THISFORM.SortGrid1.RecordSource)
IF USED(THISFORM.SortGrid1.RecordSource)
THISFORM.SortGrid1.Refresh()
ENDIF
ENDIF
Mark McCasland
Midlothian, TX USA