Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable in SELECT command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00018551
Message ID:
00018556
Vues:
37
>Anybody know the proper syntax for the following SELECT statement, where p_PayeeName is a public variable. As it is now, it isn't searching for the value of the variable.
>
>SELECT payee_code, payee_name;
> FROM wc!payee2;
> WHERE payee2.payee_name like '%p_PayeeName%';
> ORDER BY payee_name

Try using a macro '&varname', varname='%p_payeename%'
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform