Hi,
I am trying to connect to ACCPAC "server" (if one can call it server). It is my first experience with ACCPAC so sorry for possibly newbie questions.
I am writing stand alone VB6.0 application which is intended to connect to ACCPAC Advantage 5.2A and (at least) get (reserve) Batch Number for the new batch of invoices.
Back end for ACCPAC is a SQL server.
Q1: What is ACCPAC ‘server’ on the lower level? How does it work? I have not seen any services running in the system, no software that represents business logic or user authorization.
Q2: I was reading many posts on this Forum and found some controversies: Do I have to use COM API or xAPI to establish connection to the ‘server’? (I saw one post saying that COM will simplify my life here, and there was one more saying that COM API for internal use from ACCPAC VBA only)
Q3: Can I connect to ACCPAC 'server' remotely or ACCPAC 'server' should run on the same machine I am working? (I thought that:
Session.Open "ADMIN", "ADMIN", "accpac-data", Date, 0
->accpac-data parameter is ODBC connection name (to connect remotely), but I saw one post saying that it is company name for ACCPAC authorization)
I have many more questions, but let's keep them for later!
Would appreciate any responds,
Thank you in advance.
I am trying to connect to ACCPAC "server" (if one can call it server). It is my first experience with ACCPAC so sorry for possibly newbie questions.
I am writing stand alone VB6.0 application which is intended to connect to ACCPAC Advantage 5.2A and (at least) get (reserve) Batch Number for the new batch of invoices.
Back end for ACCPAC is a SQL server.
Q1: What is ACCPAC ‘server’ on the lower level? How does it work? I have not seen any services running in the system, no software that represents business logic or user authorization.
Q2: I was reading many posts on this Forum and found some controversies: Do I have to use COM API or xAPI to establish connection to the ‘server’? (I saw one post saying that COM will simplify my life here, and there was one more saying that COM API for internal use from ACCPAC VBA only)
Q3: Can I connect to ACCPAC 'server' remotely or ACCPAC 'server' should run on the same machine I am working? (I thought that:
Session.Open "ADMIN", "ADMIN", "accpac-data", Date, 0
->accpac-data parameter is ODBC connection name (to connect remotely), but I saw one post saying that it is company name for ACCPAC authorization)
I have many more questions, but let's keep them for later!
Would appreciate any responds,
Thank you in advance.