Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL using Eval
Message
De
06/11/2002 15:27:36
 
 
À
06/11/2002 15:11:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00719528
Message ID:
00719541
Vues:
15
Hi, try this !


SELECT * FROM mydbf WHERE field > 0

if the field is char, VAL(field)

> myfield = name of field to search

if myfield is other table, you need include the table in SELECT and use a field for relation with mydbf using WHERE cluse


excuse the english




>Hi. VFP7 user. I was attempting to find every record that had a quantity of > 0 in a particular field. I tried:
>
> myfield = name of field to search
> SELE * FROM mydbf WHERE EVAL('&myfield')>0
>
>What is my syntax error?
>
>Thanks, Randy
Atenciosamente,
Welington Lourenço Melo de Paula BH / MG
welingtonl@yahoo.com.br
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform