Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursorfill
Message
 
À
20/07/2006 17:31:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01138240
Message ID:
01138307
Vues:
13
>hi everyone
>im using a grid to display data from a cursor adapter wich reference a mysql table
>and im usin cursorfill in the init method of the form to fill the grid with the data stored in the mysql table.
>my cursorAdapter alias and name is pro so i put this in the init method: thisform.DataEnvironment.pro.cursorFill(.T.)
>
>but when i run the form the grid appear like a white box with nothing inside , no lines , no columns.
>
>thanks for any help

Init is too late for this.
Put that statement in Load event of the form. Also, check to see if CursorFill() is successful.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform