Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL query question
Message
De
01/09/1998 17:18:16
 
 
À
01/09/1998 15:41:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00131992
Message ID:
00132100
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform