I'm working with ASCII data files provided by data vendors in a
standard format. These files contains lots of various pieces of
information for each reporting entity in the file.
Currently I have code to read these ASCII files and arrange the data
into a managable table structure. There is a key field unique to each
entity called PROPNUM.
The workflow is such that one ASCII file (file1.txt) is loaded into
this system. I have a data loading MS-Access database (loader.mdb)
that puts data from the ASCII file into another Access database
(target.mdb). Target.mdb contains a table named Master with the
PROPNUM key field.
I need to develop a routine that checks new ASCII datafiles (e.g.,
file2.txt) for PROPNUMs that are already in Target.Master.
I've started developing this routine in IsItInTarget.mdb. I've got
PROPNUMs from file2.txt loaded into a table in IsItInTarget.mdb. How
can I search for the presence of each PROPNUM in Target.mdb and report
them.
One simple idea is to use a MsgBox statement to report each occurence,
but someone may have a better idea.
Appreciate any suggestions.
Thanks, Mark