Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Variable as Field Name
Message
De
26/04/2005 15:59:42
 
 
À
26/04/2005 15:56:03
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01008608
Message ID:
01008609
Vues:
15
Function getRecords(fieldname)
   Select EVALUATE (fieldname) From myTable...
EndFunc
HTH

>How can I use a parameter sent to my function as a field name in my select statement?
>
>Function getRecords(fieldname)
>Select fieldname From myTable...
>EndFunc
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform