Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using SQL Select Command to Populate a Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00001348
Message ID:
00001356
Vues:
50
>>I'm trying to create a form that contains a grid
>>which will display for the user the results of an
>>SQL Select command. I would like to have the
>>Select results stored in a cursor with the alias
>>Schedule. So far so good. My problem is in
>>trying to set the control source for columns in
>>the grid to fields in my Schedule cursor. I'm
>not
>>sure how reference the different fields of the
>>cursor which was created by the select command.
>>Does anyone know how to do this? Thanks in
>>advance.
>
>Sterling
>
>I hope this is on track...
>
>If you leave a Grid column count set to 0 it will
>display all columns in the Cursor.
>
>Am I right so far?
>
>Tom
Actually if you set the column count to -1 it will display all
columns in a cursor, if it's set to 0 it won't display any columns. My grid control column count is set to 5 because there are 5 columns from the cursor that I want displayed in the grid.

Sterling
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform