troyddaniels
Programmer
I am trying to figure out the VBA script needed to switch from one database to another in Accpac ERP. Right now I am just looking at a basic switch where I will start in company 1 run the macro and end up in company 2.
I have the basic code from the document:
Set Session = CreateObject("accpac.session")
Session.Open "ADMIN", "ADMIN", "FPCOM", Date, 0, ""
But I get a "Session not initialized error"
Can anyone help me out? Thanks
I have the basic code from the document:
Set Session = CreateObject("accpac.session")
Session.Open "ADMIN", "ADMIN", "FPCOM", Date, 0, ""
But I get a "Session not initialized error"
Can anyone help me out? Thanks