Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need SELECT help please
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Need SELECT help please
Divers
Thread ID:
00175160
Message ID:
00175160
Vues:
62
My SELECT statement requires 2 substitution field names and I can't get it to work with 2 substitution field names. It works with 1 substitution field name (cField1 and &cField1), but not with 2.

For example:

cField1 is a key field. cField2 is a date field.

cField1 = cRetVa1
cField2 = cRetVal2

SELECT mytable.&cField, mytable.&cField2 FROM mytable ;
WHERE YEAR(mytable.&cField2) = YEAR(DATE()) ;
ORDER BY mytable.&cField ;
INTO CURSOR rpt

Thanks for your help.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform