>hi
>im usin a grid to display data from a table in mysql , i created a cursorAdapter for the table , but the grid dos not display the data , i already put the controlsource of each column, and use the cursor fill , but the grid just turn entirely white.
>this is how im usin it in the load methos of the form :
>thisform.grid1.Column1.ControlSource="Proyectos.id_proyectos"
>if(thisform.DataEnvironment.proyectos.cursorfill(.T.))
>
>please helpme
Use it this way. Also use the RecordSource of the Grid:
thisform.grid1.RecordSource=""
if(thisform.DataEnvironment.proyectos.cursorfill(.T.))
thisform.grid1.RecordSource="Proyectos"
thisform.grid1.Refresh
ENDIF