Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SUBSTR of a Memo field returns a Memo field?!
Message
De
06/07/2005 10:02:28
 
 
À
06/07/2005 09:11:32
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01029401
Message ID:
01029439
Vues:
14
>Use a SQL statemetn, I was trying to break a Memo field into blocks of 250 characters, but when I used SUBSTR(MyMemo,1,250) I get another Memo field. If I use LEFT, it returns a Character field. I need to get about 10 blocks of 250 characters. This needs to be quick and easy, that's why I didn't try to do the OLE thing. Any thoughts?

Yes, before VFP9, the only function that preserve Memo datatype it is SUBSTR()
To force character conversion:
LEFT(MyMemo,250)
* or
SUBSTR(MyMemo,N,L)+''
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform