Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursorfill
Message
From
11/08/2006 12:28:12
 
 
To
20/07/2006 12:54:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01138138
Message ID:
01144853
Views:
5
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform