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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Accpac SQL database 2

Status
Not open for further replies.

Bluejay07

Programmer
Mar 9, 2007
780
CA
Hello,

I am creating a program using VB6 and COMAPI. The program will be run from within the accpac environment.

When accpac is running, it has a ODBC connection to the SQL database. What would be the best way to query the database from within my program.

For example, how could I accomplish: Select * from ARCUS WHERE IDCUST = 'XXX'. In addition how would I access each of the fields?

Thanks.

If at first you don't succeed, then sky diving wasn't meant for you!
 
Two questions:
1. Why did I not need an employee before the compositions? It worked perfectly then!
2. How do I accomplish this since I want all employees with EARNDED = SAL?

If at first you don't succeed, then sky diving wasn't meant for you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top