Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it a Limit to record length when FPUT?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00576352
Message ID:
00576369
Views:
20
Yes, I tried FiletoStr but the file was being truncated and I needed to drop Identification records - so I discarded that function...
Wrapping is not a problem for processing standpoint but for end-user PC operators during file investigation they do not like that at all.


>Edgar,
>
>I don't know if this will help, but you *may* have better behavior with the StrToFile() and FileToStr() functions.
>
>Doug
>
>>...
>>m.buffer = FGETS(gnOrigin)
>>...
>>nFAIL=FPUTS(gnFile, m.buffer)
>>...
>>IF nFAIL = 0
>>nERRCNT= nERRCNT+ 1
>>...
>>I read in a variable length record set (gnOrigin) with a maximum length of 320 characters and later write that record to another file (gnFile) no errors; however, the gnFile now has been wrapped at about 250 characters max.
>>
>>Have you seen this happen, How can I prevent the wrapping?
>>
>>Any help appreciated...
Edgar L. Bolton, B.S. B.B.A.
Previous
Reply
Map
View

Click here to load this message in the networking platform