Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select to String variable possible?
Message
From
28/01/2005 08:55:07
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00981569
Message ID:
00981678
Views:
48
>>I don't think so. With GROUP BY you can combine results from several records in a group, including sums, but I don't think that string concatenation is possible. I suggest you write UDF, which you then invoke from the query.
>
>Thanks for the reply!
>
>
>I didn't expect to have one. Thought, I would pick the brains of VFP gurus. No luck there.
>
>I've resorted to select the records into an array, then the array into a string.

You could also use the "TO MyFile.txt" clause in the SQL and then use FileToStr() to put into a variable.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform