I had this same problem, and because I'm basically a lazy goat, never tracked it down < g >. However, I got around it be setting the record source for the grid and the control sources for the columns in the grids Init():
WITH THIS
.RecordSource = "lv_MyTableView"
.Column1.CONTROLSOURCE = "lv_MyTableView.FieldName1"
.Column2.CONTROLSOURCE = "lv_MyTableView.FieldName2"
ENDWITH
DODEFAULT()
>I'm in the process of converting a VFP 5.0 app to VFP 6.0. None of the forms which contain a grid run correctly. Each form returns the same error message - "Control Source: Alias 'dbf name' is not found". I recreated a grid on one of the forms and got the same error. Any suggestions would be greatly appreciated!
Chris McCandless
Red Sky Software