Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL problem
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00749958
Message ID:
00749963
Views:
22
SELECT source_name FROM tblThisTable WHERE Uid = 1001 into curs tmpcurs
cName =source_name
use in tmpcurs

>How can I run a SELECT sql statement and assign the return to a variable? It's only ever going to return one value
>
>ie:
>cName = SELECT source_name FROM tblThisTable WHERE Uid = 1001
>
>Except that doesn't work.
>
>Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform