Creating text files from a single file

Kapay

New member
Local time
Today, 06:02
Joined
Mar 21, 2002
Messages
8
Can someone help!!
I am writing a program to automate my daily work. I am stuck.I want to write some codes that will open a text file and read the command lines in it and generate some files for each command line saving it with seperate sequential file name with "in" extention.For example:

Source file:

DoCmd.OpenForm
DoCmd.Execute
txtField.Setfocus

File to generate are:

1.in
2.in
3.in
 
Sorry Kapay, don't quite understand your post.

You have a text file with the follownig lines?:

DoCmd.OpenForm
DoCmd.Execute
txtField.Setfocus

And you want to generate new text files?

What information is supposed to go into the new text files?
 

Users who are viewing this thread

Back
Top Bottom