Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable record length txt file
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01538527
Message ID:
01538528
Views:
50
>I need a way to create a varialbe record length txt file. I have a table that has pertinent customer information in it. From this table I am trying to create a txt file that has several different record formats for each customer from the table. Each type of record in the txt file has a different record length. And some of these txt record are over 256 characters. I have no problem creating the txt file with
>the data I need but all the records come out the same length which is unacceptable. Any suggestions would be appreciated.
>
>Brad

It depends on how you're creating the file. I suggest to use a relatively slow method of scanning the file and outputting into the file with either low-level file function or with strtofile.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform