vba and browse records of .mdb file

Discussion in 'AutoCAD' started by pino_loz, Dec 1, 2004.

  1. pino_loz

    pino_loz Guest

    how can I browse records of .mdb file with VBA in Autocad 2005.
    I need a graphic interface to navigate records (for example: button Next, Previous, Add record ....)
    it's possible ?
    :)
     
    pino_loz, Dec 1, 2004
    #1
  2. pino_loz

    John Coon Guest

    look under Autodesk web page >product > training > Tutorials and How-to.
    They have examples about (5) that walks you thru access connection with
    AutoCAD as a start.

    hope this helps
    John Coon
     
    John Coon, Dec 1, 2004
    #2
  3. You can either:
    1. Run Access as an ActiveX Server from inside your AutoCAD VBA code via an
    Access Application oject (e.g. CreateObject("Access.Application", "") or
    GetObject(, "Access.Application") ). You will need an Access license for
    each client using this approach.
    2. Build your own data entry form using VBA, MS ActiveX Data Objects (ADO),
    and a grid control (e.g. UBGrid, SGrid). You do not need Access licenses
    using this approach.
     
    John Goodfellow, Dec 1, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.