+ Reply to Thread
Results 1 to 2 of 2

ODBC database access

  1. #1
    ooo
    Guest

    ODBC database access

    I would like to query the Oracle database using ODBC on an Excel
    spreadsheet, and put the result in a recordset. However, when I compose the
    program in the VB, it didn't recognise the Database and Recordset datatype.

    I found many solutions on the web that would use the Database and Recordset
    types. I also found that there were many other examples that used the ODBC
    functions like SQLBind, SQLExecQuery, SQLOpen and SQLRetrieve, etc.

    I am using Excel 2002 with Visual Basic 6.0 as Visual Basic Editor. Would
    you please kindly tell me if there is any components that I have to install
    before using the functions? And would you please kindly show me the way for
    retrieving the data in a recordset from Oracle database?

    Thank you very much.



  2. #2
    Registered User
    Join Date
    02-26-2005
    Posts
    1

    Thumbs up Problem solved

    The trick was that I gotta include the Microsoft ActiveX Data Objects Recordset 2.5 Library in the VB editor.

    Thanks for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1