stemar5000
Programmer
I am using ACCPAC Advantage Series Enterprise Edition v5.0A, Pervasive SQL, Windows XP.
I have written a VBA macro that uses the A/R module. I have looked in the ACCPAC System Manager User Guide to understand the behavior of each ACCPAC VBA command. I am using the same logic as in the book, i.e.: 1. read the batch; 2.read the header; 3. read and update or insert the detail1, detail2, detail3, & detail4; 4. update or insert the header; 5. update the batch.
Through lots of testing, I have only been able to make '.Update' work with the header but not with any detail tables and the '.Insert' command doesn't work at all.
My code is not super long and it's easy to understand for someone who worked with ACCPAC objects in VBA before. The code imports new data to ACCPAC and then export the ACCPAC data in a CSV file.
Is there someone who would be willing to look at my code and see where it needs fixing? I could send you my code through email as it may be too long for posting even though it's not super long.
I'm open to any suggestions. Thank you very much,
-Steven
I have written a VBA macro that uses the A/R module. I have looked in the ACCPAC System Manager User Guide to understand the behavior of each ACCPAC VBA command. I am using the same logic as in the book, i.e.: 1. read the batch; 2.read the header; 3. read and update or insert the detail1, detail2, detail3, & detail4; 4. update or insert the header; 5. update the batch.
Through lots of testing, I have only been able to make '.Update' work with the header but not with any detail tables and the '.Insert' command doesn't work at all.
My code is not super long and it's easy to understand for someone who worked with ACCPAC objects in VBA before. The code imports new data to ACCPAC and then export the ACCPAC data in a CSV file.
Is there someone who would be willing to look at my code and see where it needs fixing? I could send you my code through email as it may be too long for posting even though it's not super long.
I'm open to any suggestions. Thank you very much,
-Steven