Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL query question
Message
From
01/09/1998 15:41:24
 
 
To
01/09/1998 14:49:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00131992
Message ID:
00132030
Views:
18
>I'm using a VFP 5 database (not SQL server data).
>
>I'd like to run a query that returns a concatenated string in a memo field.
>
>Example:
>select addr1+CRLF+addr2+CRLF+addr3+CRLF+city+CRLF+state+CRLF+zip as combaddr from address
>
>Where combaddr is a memo field. Is there any way to do this?
>
>Thanks.
>
>paul
I haven't tried it but
CREATE CURSOR TEMP (combaddr M)

SELECT combaddr from Temp ;
   union ;
SELECT addr1+CRLF+addr2+CRLF+addr3+CRLF+city+CRLF+state+CRLF+zip as combaddr ..
Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform