Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursorfill
Message
De
11/08/2006 12:28:12
 
 
À
20/07/2006 12:54:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01138138
Message ID:
01144853
Vues:
8
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform