M
mscertified
I have a system that allows reporting from imported data. I keep a track of
what has been imported via a table called tblImportLog. The data itself goes
into tblImportData.
When a report is requested, I look in the log to see if the data is present,
if not, it gets imported.
This is the theory....
But what is happening is that sometimes the data gets imported twice. I have
looked at the code and cannot for the life of me figure out what is happening.
This does not happen every time - only sometimes.
I use a DLOOKUP on the record in the tblImportLog to determine if the data
has been imported. If the dlookup fails, I am even doing a failsafe check by
checking the actual data table and if I find data in there I issue a Msgbox
indicating the log is out of sync with the data.
Any ideas?
what has been imported via a table called tblImportLog. The data itself goes
into tblImportData.
When a report is requested, I look in the log to see if the data is present,
if not, it gets imported.
This is the theory....
But what is happening is that sometimes the data gets imported twice. I have
looked at the code and cannot for the life of me figure out what is happening.
This does not happen every time - only sometimes.
I use a DLOOKUP on the record in the tblImportLog to determine if the data
has been imported. If the dlookup fails, I am even doing a failsafe check by
checking the actual data table and if I find data in there I issue a Msgbox
indicating the log is out of sync with the data.
Any ideas?