>I Forgot to specify that I used an empty version of the DBF to design my grid, and I change the source of my cursor in the dataenvironment, so, I use the customer's DBF
>
>If I try to create a cursor, I lose a part of my grid design
Thierry,
You don't need to change design. If this would be a view-only grid you could do this :
this.RecordSourcetype = 4
this.Recordsource = 'select field1, field2.. from myTable into cursor myCursor'
Be sure you specify fields in order you set your headings.
Cetin