Results 1 to 2 of 2

Thread: db grid control

  1. #1

    Thread Starter
    Banned
    Join Date
    Jul 2000
    Posts
    11
    Hi,
    I am using a dbgrid control. I am using oracle database and ado to connect to the database.The code that i have is

    dbIniRec.Datasource = rsB

    rsB is the recordset object. It gives me an error saying

    Runtime Error:430
    Class does not support automation or does not support
    expected interface.

    Can anyone please tell me why it is giving this error.

  2. #2
    New Member
    Join Date
    Dec 1999
    Location
    India
    Posts
    9
    You cant associate a recordset object to datasource property. It expects a datasource name for which you can put a ADODC on the form, connect it to the proper database using a ODBC datasource or forming a proper connect string. This should solve your problem.

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