-
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.
-
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.