Hi friends,
I am using access as backend & vb6 as frontend. i want to delete the record useing adodc recordset but it will throw error at time of deletion.
Can anybody help me.
Set CN = CreateObject("ADODB.Connection"
CN.Open ConnectionString ' Where ConnectionString is your connection string
SQL = "DELETE FROM MyTable WHERE MyField='Delete Me'"
CN.Execute SQL
CN.Close
Set CN = Nothing
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.