According to TechNet this error says that there is a problem with the where
clause of your select statement.
Also check to see that you have permission to add the row.
> I have connect to thr sql-server with VB5 I can move from record to
> record but if I try to add or update a record I get runtime error 3145