Results 1 to 8 of 8

Thread: Connecting to a database

  1. #1
    Member
    Join Date
    2004-05
    Posts
    27

    Angry Connecting to a database

    I’m writing an application in VBA – Autocad 2004 – and I need to programmatically connect to a database. How is it done?

    Mike

  2. #2
    100 Club RobertAitken's Avatar
    Join Date
    2000-10
    Location
    Sunny Scotland
    Posts
    148

    Default Re: Connecting to a database

    What kind of DB, Access, SQL etc?

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

    Robert

  3. #3
    Member
    Join Date
    2004-05
    Posts
    13

    Default Re: Connecting to a database

    Do a google search for VBA AutoCAD odbc
    Last edited by philh; 2004-07-16 at 09:34 PM.

  4. #4
    Active Member
    Join Date
    2000-12
    Location
    Las Vegas
    Posts
    68

    Default Re: Connecting to a database

    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.

  5. #5
    100 Club
    Join Date
    2000-06
    Location
    Denver, Colorado
    Posts
    161

    Default Re: Connecting to a database

    Mike,
    If you look in the previous post, there is already a link to a bootlegged version of AUGI's copyrighted ATP material.

  6. #6
    100 Club
    Join Date
    2000-06
    Location
    Denver, Colorado
    Posts
    161

    Default Re: Connecting to a database

    I have edited out the link to the illegally posted ATP material.

  7. #7
    Member
    Join Date
    2002-02
    Posts
    21

    Default Re: Connecting to a database

    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

  8. #8
    100 Club amaser's Avatar
    Join Date
    2006-05
    Location
    Joliet, IL
    Posts
    105

    Default Re: Connecting to a database

    ive attached a dvb file that has several functions that can function as an example.
    hope this helps
    Attached Files Attached Files

Similar Threads

  1. How to: Not connecting two walls
    By cadorcl in forum Revit Structure - General
    Replies: 5
    Last Post: 2011-05-20, 12:39 PM
  2. Systems not connecting
    By harrisbrett in forum Revit MEP - General
    Replies: 0
    Last Post: 2011-03-28, 10:41 PM
  3. Connecting to Excel - 64-bit?
    By kenkrupa in forum AutoLISP
    Replies: 1
    Last Post: 2010-06-23, 07:03 PM
  4. Connecting different networks??
    By whf in forum AutoCAD Civil 3D - Pipes
    Replies: 1
    Last Post: 2007-05-24, 04:44 PM
  5. Connecting to an external database
    By ed.hajas in forum AutoLISP
    Replies: 3
    Last Post: 2004-06-29, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •