Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering by cursor value
Message
 
 
To
24/04/2006 07:29:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01115918
Message ID:
01115944
Views:
5
Chaim,

I see that you already got help, but you may also check help for TEXT TO lcSQLStr TEXTMERGE NOSHOW ENDTEXT commands...

>Hi
>I need help, please!
>
>OK
>I have a cursor as following:
>create cursor myfilters (filters c(1))
>insert into myfilters values ('>')
>insert into myfilters values ('#')
>insert into myfilters values ('=')
>insert into myfilters values ('<')
>Now, I want to run a query that use with the cursor values for filter as following:
>
select myfilters
>scan
>	select * from mycursor where myfield <<myfilters.filters>>9
>endscan
>
>By this scan I want to get the following queries:
>
select * from mycursor where myfield>9
>select * from mycursor where myfield#9
>select * from mycursor where myfield=9
>select * from mycursor where myfield<9
>
>
>Thank's
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform