Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursorfill
Message
 
To
20/07/2006 17:31:22
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01138240
Message ID:
01138307
Views:
12
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform