Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Populating a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01106160
Message ID:
01106164
Vues:
26
>Can sombody give me some advice please. I have a cursor 'Articolhang' which is built when the the form is initialized. I would like to bind the contents of the cursor to my grid using the traditional way by selecting the grid and then entering my properties using the foxpro GUI i.e. columns = 3, recordsource = Articolhang.
>
>Here lies a problem I think when the form initializes the grid is looking for the cursor but the cursor is not built yet. Can i do it this way or after my method which creates the cursor I then have to to do something like:
>
>
>
>with this.grid1
>     .recordsource = 'Articolhang'
>     etc etc
>endwith
>
>
>
>I would really like to set the properties on the grid rather than programmatically!!
>
>I was hoping somebody could put me in the right direction
>
>Many thanks


The only way to do this is to build the cursor in Load Event of the form.
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