Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming output files
Message
From
12/07/2004 09:14:03
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00923150
Message ID:
00923292
Views:
52
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
Previous
Reply
Map
View

Click here to load this message in the networking platform