Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql Command
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01170581
Message ID:
01171001
Views:
7
Never say never. :)

See Cetin's today post Re: How to use SQL OpenRowSet thru VFP9 Message #1170966

>You can't. You must prepare the list and SELECT beforehand.
>
>SELECT .... && your "I want to use here vfp Statement"
>lcList = []
>SCAN
>   lcList = lcList + IIF(EMPTY(lcList),[],[,]) + TRANSFORM(FieldName)
>ENDSCAN
>
>SQLExec(gnconnhandle,'select * from product where  prcode in ('+ lcList+ ')','product')
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform