Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL using Eval
Message
From
06/11/2002 15:27:36
 
 
To
06/11/2002 15:11:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00719528
Message ID:
00719541
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform