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

Click here to load this message in the networking platform