i want to insert a record in a table with ADO ,and i wrote this code:
------------------------------------------------------------------------
Private Sub Command1_Click()
ado1.recordsource="insert into table1 values('a','b')"
ado1.refresh
End Sub
------------------------------------------------------------------------
but in run_time i see this error:
operation is not allowed when
the object is closed.
what can i do.
2006-08-03
03:53:46
·
3 answers
·
asked by
Hossein
1
in
Computers & Internet
➔ Programming & Design