>I have a grid that is based on a cursor. The cursor is created in the Init event of a form. When the form is displayed the grid is completly white with no data. In the data session the cursor is created and does have data in it. What is the problem?
>
>Thanks
>
>Jim
Besides creating a cursor, you should also link it to the grid programmatically , even if you did it in property sheet (actually you may also try to create cursor in Load event, probably it will work better then). Programmatic linking means that you fire:
This.Grid.Recordsource="mycursor"
If you have some specifics, you should set them programmatically too:
This.Grid.ColumnCount=5
This.Grid.Column1.Controlsource="mycursor.myfield5"
etc.
Edward Pikman
Independent Consultant