Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Line too long
Message
From
17/05/2014 18:43:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01600160
Message ID:
01600161
Views:
91
Likes (1)
Can you check the input file? It must not have line lengths exceeding VFP internal limit (approximately 64KB). The following code reproduces the error (respond with "Ignore" to see the result):
CREATE CURSOR curTable (hline C(239))
STRTOFILE("This line is ok, the next will raise an error message" + CHR(13) + REPLICATE("*",64*1024),"myfile.htm")
APPEND FROM myfile.htm TYPE sdf
BROWSE
>Hello,
>I have a file called: "myfile.htm." And a have a table with one field, called "hline," with 239 characters.
>When I try this command:
>
>
>APPEND FROM myfile.htm TYPE SDF
>
>
>I get this error message: "line too long"
>
>I have used this append command many times. It just cuts off lines that are too long. I wonder why I am suddenly getting this message.
>
>Thank you,
>Steve
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform