Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USE OF SQL STATEMENTS
Message
 
To
19/07/1996 08:42:33
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00004029
Message ID:
00004235
Views:
43
>>Thanks arnon, you are right, that works if you know in anticipation the condition for the SQL statement, but what happen if the condition gets complicated like:
>>(cat_code=1 and item_Code=3) and (cat_code=2 or item_code=1)
>>and actually I let the user to construct any condition he wants.
>then u do the same only use macro substitution to construct
>the critiria
>
>Arnon
Thanks arnold, and to all of you that have help with this,I think I finally find it and I think is going to work.
The macro substitution how you say I don't think works here, because how a toll you at the beginning the whole criteria should find the records that match the statement in just one field. What I have in mind is to split the SQL statement in pieces and then submit as many SQLs as I need and then
add everything, got it ?.
Anyway thanks a lot.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform