Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using FWRITE() to add characters to text file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01081854
Message ID:
01081872
Views:
9
Amy,

Apparently I do not understand the problem correctly, if you already know the length of each field, why don't you use that information in the append from command?
CREATE CURSOR curNewFile(field1 c(nFieldLen1),field2 c(nFieldLen2),field3 c(nFieldLen3), .., fieldN c(nFieldLenN))
APPEND FROM (cFilename) SDF
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform