<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to open a MSAccess database? in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915258#M58318</link>
    <description>Just create an object, select it, right-click and choose hyperlink. Browse
to the mdb file. Then select it later and right click, hyperlink, open.

Dave

"NDDesign" &lt;NOSPAM&gt; wrote in message
news:29870356.1071966155801.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; I just want to be able to open up access with an existing file.  I dont
need to open channels for data between autocad and access.  I tried with
autolisp (startapp "C:/Program Files/Microsoft Office/Office/MSACCESS.EXE")
and got it opening access but couldnt get it to start with the file I want
open.
&amp;gt;
&amp;gt; Thanks&lt;/NOSPAM&gt;</description>
    <pubDate>Sun, 21 Dec 2003 09:33:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-12-21T09:33:03Z</dc:date>
    <item>
      <title>How to open a MSAccess database?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915255#M58315</link>
      <description>Hi

I need help in finding the code to open an instance of microsoft access
(office 97) with an existing database open,  all from within autocad?
My file is named ....   c:\data\mydatabase.mdb

PS I am using ADT2004

Thanks
Nigel Downing Design
nigeld@actrix.co.nz</description>
      <pubDate>Sat, 20 Dec 2003 23:32:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915255#M58315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-20T23:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a MSAccess database?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915256#M58316</link>
      <description>Private Sub ExportToAccessTable()
    Dim rs As New ADODB.Recordset
    Dim rsins As New ADODB.Recordset
    Dim sSQL As String
    Dim sINSSQL  As String
    Dim rsretval As RecordStatus
    Dim i As Integer
    Dim cn As New ADODB.Connection
    Dim sConnStr As String
    Dim dConvert As Double
    ' -- open database connection
    On Error Resume Next
    If LOGIN_PASSWORD &amp;lt;&amp;gt; vbNullString And LOGIN_USERNAME &amp;lt;&amp;gt; vbNullString
Then
    sConnStr = "Driver={Microsoft Access Driver (*.mdb)};Dbq=" &amp;amp;
txtExportAccess.Text &amp;amp; ";Uid=Admin;Pwd=" &amp;amp; LOGIN_PASSWORD &amp;amp; ";"
    Else
    sConnStr = "Driver={Microsoft Access Driver (*.mdb)};Dbq=" &amp;amp;
txtExportAccess.Text &amp;amp; ";Uid=Admin;Pwd=;"
    End If

    frmExport.MousePointer = vbHourglass

    Do Until cn.State = adStateOpen Or CANCEL_LOGIN = 1
        cn.CursorLocation = adUseClient
        cn.Open sConnStr

        If Err.Description = "[Microsoft][ODBC Microsoft Access Driver] Not
a valid password." Then
            frmLogin.txtPassword.Text = LOGIN_PASSWORD
            frmLogin.txtUsername.Text = "Admin"
            frmLogin.txtUsername.Locked = True
            frmLogin.Show vbModal, Me
            Err.Clear
            sConnStr = "Driver={Microsoft Access Driver (*.mdb)};Dbq=" &amp;amp;
txtExportAccess.Text &amp;amp; ";Uid=Admin;Pwd=" &amp;amp; LOGIN_PASSWORD &amp;amp; ";"
        ElseIf Err Then
            MsgBox Err.Description
            CANCEL_LOGIN = 1
        End If
    Loop
    If CANCEL_LOGIN = 1 Then
        CANCEL_LOGIN = 0
        txtExportAccess.Text = vbNullString
        Exit Sub
    End If

    ' #-- insert data -- #
    sINSSQL = "INSERT INTO " &amp;amp; cboAccessTable.Text &amp;amp; " "

Hope that gets you started.

Dave

"Nigel Downing" &lt;NIGELD&gt; wrote in message
news:3fe4dd3d_7@statler...
&amp;gt; Hi
&amp;gt;
&amp;gt; I need help in finding the code to open an instance of microsoft access
&amp;gt; (office 97) with an existing database open,  all from within autocad?
&amp;gt; My file is named ....   c:\data\mydatabase.mdb
&amp;gt;
&amp;gt; PS I am using ADT2004
&amp;gt;
&amp;gt; Thanks
&amp;gt; Nigel Downing Design
&amp;gt; nigeld@actrix.co.nz
&amp;gt;
&amp;gt;&lt;/NIGELD&gt;</description>
      <pubDate>Sun, 21 Dec 2003 00:02:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915256#M58316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-21T00:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a MSAccess database?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915257#M58317</link>
      <description>I just want to be able to open up access with an existing file.  I dont need to open channels for data between autocad and access.  I tried with autolisp (startapp "C:/Program Files/Microsoft Office/Office/MSACCESS.EXE") and got it opening access but couldnt get it to start with the file I want open.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Sun, 21 Dec 2003 00:22:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915257#M58317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-21T00:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a MSAccess database?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915258#M58318</link>
      <description>Just create an object, select it, right-click and choose hyperlink. Browse
to the mdb file. Then select it later and right click, hyperlink, open.

Dave

"NDDesign" &lt;NOSPAM&gt; wrote in message
news:29870356.1071966155801.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; I just want to be able to open up access with an existing file.  I dont
need to open channels for data between autocad and access.  I tried with
autolisp (startapp "C:/Program Files/Microsoft Office/Office/MSACCESS.EXE")
and got it opening access but couldnt get it to start with the file I want
open.
&amp;gt;
&amp;gt; Thanks&lt;/NOSPAM&gt;</description>
      <pubDate>Sun, 21 Dec 2003 09:33:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915258#M58318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-21T09:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a MSAccess database?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915259#M58319</link>
      <description>http://www.tek-tips.com/gviewthread.cfm/lev2/4/lev3/31/pid/687/qid/676242

"Dave" &lt;INFONOSPAM&gt; wrote in message
news:3fe568e1$1_2@statler...
&amp;gt; Just create an object, select it, right-click and choose hyperlink. Browse
&amp;gt; to the mdb file. Then select it later and right click, hyperlink, open.
&amp;gt;
&amp;gt; Dave
&amp;gt;
&amp;gt; "NDDesign" &lt;NOSPAM&gt; wrote in message
&amp;gt; news:29870356.1071966155801.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; &amp;gt; I just want to be able to open up access with an existing file.  I dont
&amp;gt; need to open channels for data between autocad and access.  I tried with
&amp;gt; autolisp (startapp "C:/Program Files/Microsoft
Office/Office/MSACCESS.EXE")
&amp;gt; and got it opening access but couldnt get it to start with the file I want
&amp;gt; open.
&amp;gt; &amp;gt;
&amp;gt; &amp;gt; Thanks
&amp;gt;
&amp;gt;&lt;/NOSPAM&gt;&lt;/INFONOSPAM&gt;</description>
      <pubDate>Sun, 21 Dec 2003 09:45:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915259#M58319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-21T09:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a MSAccess database?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915260#M58320</link>
      <description>(startapp "C:/Program Files/Microsoft Office/Office/MSACCESS.EXE"
"c:\data\mydatabase.mdb")



"Dave" &lt;INFONOSPAM&gt; wrote in message
news:3fe56be9_4@statler...
&amp;gt; http://www.tek-tips.com/gviewthread.cfm/lev2/4/lev3/31/pid/687/qid/676242
&amp;gt;
&amp;gt; "Dave" &lt;INFONOSPAM&gt; wrote in message
&amp;gt; news:3fe568e1$1_2@statler...
&amp;gt; &amp;gt; Just create an object, select it, right-click and choose hyperlink.
Browse
&amp;gt; &amp;gt; to the mdb file. Then select it later and right click, hyperlink, open.
&amp;gt; &amp;gt;
&amp;gt; &amp;gt; Dave
&amp;gt; &amp;gt;
&amp;gt; &amp;gt; "NDDesign" &lt;NOSPAM&gt; wrote in message
&amp;gt; &amp;gt; news:29870356.1071966155801.JavaMail.jive@jiveforum1.autodesk.com...
&amp;gt; &amp;gt; &amp;gt; I just want to be able to open up access with an existing file.  I
dont
&amp;gt; &amp;gt; need to open channels for data between autocad and access.  I tried with
&amp;gt; &amp;gt; autolisp (startapp "C:/Program Files/Microsoft
&amp;gt; Office/Office/MSACCESS.EXE")
&amp;gt; &amp;gt; and got it opening access but couldnt get it to start with the file I
want
&amp;gt; &amp;gt; open.
&amp;gt; &amp;gt; &amp;gt;
&amp;gt; &amp;gt; &amp;gt; Thanks
&amp;gt; &amp;gt;
&amp;gt; &amp;gt;
&amp;gt;
&amp;gt;&lt;/NOSPAM&gt;&lt;/INFONOSPAM&gt;&lt;/INFONOSPAM&gt;</description>
      <pubDate>Wed, 31 Dec 2003 17:47:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-open-a-msaccess-database/m-p/915260#M58320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-12-31T17:47:10Z</dc:date>
    </item>
  </channel>
</rss>

