PDA

View Full Version : Connecting to a database



lambertm
2004-06-01, 01:27 PM
I’m writing an application in VBA – Autocad 2004 – and I need to programmatically connect to a database. How is it done?

Mike

RobertAitken
2004-06-01, 02:26 PM
What kind of DB, Access, SQL etc?

How are you connecting into it DAO, ADO, ODBC, CAO?

Robert

philh
2004-06-01, 02:37 PM
Do a google search for VBA AutoCAD odbc

degrawmd
2004-06-03, 04:51 PM
I have three papers written for ATP that address connecting to a database using the DAO model.

In fact we were in the middle of this ATP course when things crashed.

I could send them to you for reading and personal use. I would hope that from there you would be able to connect and do specifically what you need.

It's not a trivial process.

BigBopper
2004-06-03, 09:14 PM
Mike,
If you look in the previous post, there is already a link to a bootlegged version of AUGI's copyrighted ATP material.

BigBopper
2004-06-08, 03:42 PM
I have edited out the link to the illegally posted ATP material.

cwhitaker
2004-07-06, 09:41 PM
I am also looking for reference material to connect VB to Access. Would it be possible for me to get a copy of your ATP class handouts? Thanks

amaser
2008-09-17, 06:03 PM
ive attached a dvb file that has several functions that can function as an example.
hope this helps