Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming output files
Message
De
12/07/2004 09:14:03
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00923150
Message ID:
00923292
Vues:
49
Then you will have to turn the memo into a fixed length field.
SELECT MAX(LEN(ALLTRIM(Field5))) AS MaxLength FROM .... INTO ARRAY aMaxLen
IF aMaxLen[1] < 255
   SELECT Field1, etc, SUBSTR(Field5,1,aMaxLen[1]) AS Field5...
ELSE
   *     
ENDIF
COPY TO () TYPE *
>I forgot to mention there are fields in the table field1, field2, field3, field4, field5. Field5 in a memo field and I need to pull that info out as well into the textfile.
Charlie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform