Results 1 to 2 of 2

Thread: ODBC Please

  1. #1

    Thread Starter
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    Post

    How do I open a database in vb using a database specified as a datasource in ODBC? rather than specifying the path to the database.



    ------------------
    Mark Sreeves
    Analyst Programmer

    [email protected]
    A BMW Group Company

  2. #2
    Junior Member
    Join Date
    Jul 1999
    Posts
    25

    Post

    try following

    Set adoConn = New ADODB.Connection
    adoConn.Open "ODBC Name of DB", "sa", ""

Posting Permissions

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



Click Here to Expand Forum to Full Width