OK I've been going round in circles tyring to solve this problem. I have imported data into a temp table and parsed the records through ADO. That works perfectly. When I open the temp table all the records are there with the necessary changes.
However the next step is to append this data to another table. Now if I run this query in Access as normal it works fine and sometimes when I run the code it works. But sometimes it does not append the data - the runSQL command seems to be working from the data before it was updated through ADO. How can I get it to append the updated data??
However the next step is to append this data to another table. Now if I run this query in Access as normal it works fine and sometimes when I run the code it works. But sometimes it does not append the data - the runSQL command seems to be working from the data before it was updated through ADO. How can I get it to append the updated data??
Code:
parseNEDrawingNums 'parses records in temp table
DoCmd.RunSQL "INSERT INTO tblVendorNEDrawings (MHINum, VNumArea, VNumType )SELECT MHINum, VNumArea, VNumType FROM tempNEVendor"