Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL query question
Message
From
01/09/1998 17:18:16
 
 
To
01/09/1998 15:41:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00131992
Message ID:
00132100
Views:
15
Good suggestion. Tried that earlier today. Got that "incompatible union" error (or some such thing).

Thanks though.

paul


>>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
Reply
Map
View

Click here to load this message in the networking platform