Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Querying
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01059617
Message ID:
01059925
Vues:
12
>How can I use this....
>
>Select * from Proyect ;
>where Type_P = m.Type_P ;
>and Number = m.Number ;
>Into cursor ResultSet
>
>to present the information in textboxes in the form. Instead of a report or a grid.?

Juan
1) Add a 'Fields' property to your form
2) Set the controlsource in your textboxes to be ThisForm.Fields.NameOfField, like in ThisForm.Fields.Type_P
3) Run select * from proyect bla blabla
4) SCATTER NAME ThisForm.Fields
That's it. If you want to save back, use "gather name Thisform.Fields" command.

HTH
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform