Need to Build a Conversion Process

G

Guest

I need someone to help walk me through creating a
conversion process that reads in input file containing a
string of alphanumeric characters and write them to an
output file in a readable format. Instead of one
continuous line of alphanumeric characters separate by
line feeds. Once an analysis has been completed, the
output file needs to be converted back to its original
format (one continuous line of alphanumeric characters
separated by line feeds.
 
S

Sean

would this be of any use,
straight from Access help system.... "input"


if you need a new line then use the Access Constant vbcrlf

This example uses the Input function to read one character at a time from a
file and print it to the Debug window. This example assumes that TESTFILE is
a text file with a few lines of sample data.

Dim MyChar
Open "TESTFILE" For Input As #1 ' Open file.
Do While Not EOF(1) ' Loop until end of file.
MyChar = Input(1, #1) ' Get one character.
Debug.Print MyChar ' Print to Debug window.
Loop
Close #1 ' Close file.


then do the processing and write the new line out to a new file
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top