Marie,
Ok, if it's a cursor that does not exist when the grid Init fires you will have the problem you are seeing. There are a couple of things to do
1) create cursor in the Form.Load()
2) Look at using a view, expecially if you will be recreating the rows at runtime.
3) If you can live with the default way a grid looks you can simply:
select ...
into TheCursor ...
with this.grdTheGrid
.ColumnCount = -1
.RecordSource = "TheCursor"
endwith
>Sadly, it is a cursor created during a calculation that has to be displayed, not a table. I misspoke. So I have no table to drag to create the grid.