Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection from MS Access

Status
Not open for further replies.

gregoryvain

Programmer
Dec 1, 2004
1
CA
Hello,

I would like to connect to accpac from VBA in MS Access. I have tried some of the code that you have posted in this forum and it gives me errors.

There are 2 things that I am concerned about:
1) The accpac database runs on a server, not on the computer that I am running the access database on, but the computer does have Accpac installed obviously.

2) I am not sure what references I have to include in order for the code to work.


All the code that you find on the net describes how to connect to the 'Accounts Receivable' tables, I would like to connect to the Assemblies table.

Thanks for you help
 
As always, record a VBA macro within Accpac that accesses the tables you want to work with. This will give you the views and compositions you need. Then copy that into your MSAccess code.

Jay Converse
IT Director
Systemlink, Inc.
 
You will need to reference the ACCPAC COM API Object 1.0 library.

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top