Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding cursor as grid source
Message
 
 
À
15/03/2011 15:27:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01503760
Message ID:
01503770
Vues:
60
>Ok - I use an SQL select statement (SELECT * from parts WHERE ponum=mponum INTO TABLE partstank.dbf) to get records into a table. I have a grid that is to display the records in partstank.dbf. I set the grid RecordSource to partstank.dbf (also tried just plain 'partstank'), and the RecordSourceType to either Table, or Alias. I have set the Column ControlSource and the textbox ControlSource to the partstank file, which I know has records in, but nothing shows up in the grid.
>
>Any ideas??
>
>Thanks.

Use a cursor and alias for the RecordSourceType. Use Alias.FieldName for the control source of grid columns.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform