Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo in Select statements
Message
 
 
À
07/02/2008 14:43:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01290540
Message ID:
01290546
Vues:
24
AFAIK, No. You can include 'contacttype' and 'TEXT AS act_notes' in the SELECT field list and run replace afterwards
SELECT ...
REPLACE ALL act_notes WITH ALLTRIM(contacttype) + " - " + act_notes
>
> I understand that a character field cannot be longer the 254, but I need the memo field to stay a memo field, not be converted into a character field. Is that possible in vfp8?
>
>>A character field cannot be longer than 254 charaters. In VFP9 you could use CAST() to make result a memo but not in VFP8.
>>
>>...
>>  PADR(ALLTRIM(contacttype) + " - " + TEXT,254) AS act_notes,
>>...
>>
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform