Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL return assignment
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00746712
Message ID:
00746751
Views:
20
SELECT * FROM tblKeyCounter INTO ARRAY laTemp
nThis = laTemp[1]
>I'm running a SQL statement to get a value from a table (a number).
>Is there any way that I can assign the return of the sql statement to a variable?
>
>ie: nThis = SELECT * FROM tblKeyCounter
>
>There's only ever one record in that table... so it can only ever return one value.... but how do I assign that return to a variable?
>
>Thanks!!
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform