
ADO Error! Don't know why
Hi, I'm trying to open a recordset from a database using an ado data control.
I've used the property window to assign the data control's properties including the connection string and the recordsourse which is a table in the database.
in the code the first line using the adodc1.recordset object gives me an error. Error is 'Object variable or With Block variable not set'.
The line is: Adodc2.Recordset.MoveFirst
Whatever I do I get this error. I have testec the connection and it was successful. I don't know what I am missing out or doing wrong. Can anyone help urgently????
N Savjani
*** Sent via Developersdex http://www.*-*-*.com/ ***
Don't just participate in USENET...get rewarded for it!