I
Ivan Grozney
I cannot figure out how to read in a text file, do some
processing and then populate a table.
We bought the USPS zip code file. I can mindless edit the
file and set it up for import to the database. However,
we get it once a month and I want (would like) to have a
button on a form that reads it in and then as I go through
the lines process the data (sorry I used to be a COBOL and
FORTRAN programmer...)and discard the records I don't need
and suck out the data I want from those I do need.
I cannot for the life of me figure out how to open up a
text file. Everything I try (open file, etc.) fails and
the items in help (OpenTextFile and OpenAsTextStream) I
cannot get to work.
Any help, suggestions or ideas are GREATLY appreciated...
IG
processing and then populate a table.
We bought the USPS zip code file. I can mindless edit the
file and set it up for import to the database. However,
we get it once a month and I want (would like) to have a
button on a form that reads it in and then as I go through
the lines process the data (sorry I used to be a COBOL and
FORTRAN programmer...)and discard the records I don't need
and suck out the data I want from those I do need.
I cannot for the life of me figure out how to open up a
text file. Everything I try (open file, etc.) fails and
the items in help (OpenTextFile and OpenAsTextStream) I
cannot get to work.
Any help, suggestions or ideas are GREATLY appreciated...
IG