Perhaps someone can help me with a problem I am having.
Here is my situation, I am using access as a front end to a mysql database, using the odbc-mysql version 5.1 connector. I have some code that use a DAO connection object to insert new records into the database. To verify that the record was inserted, the code would check the recAffected property of the connection object after each insert statement execution.
My problem is that the recAffected is sometime zero, even when the record was successful inserted. Is there a fix to this problem? Or is there another way to check if a record is inserted without querying the database?
Any hint or advice would greatly be appreciated. Thanks
Here is my situation, I am using access as a front end to a mysql database, using the odbc-mysql version 5.1 connector. I have some code that use a DAO connection object to insert new records into the database. To verify that the record was inserted, the code would check the recAffected property of the connection object after each insert statement execution.
My problem is that the recAffected is sometime zero, even when the record was successful inserted. Is there a fix to this problem? Or is there another way to check if a record is inserted without querying the database?
Any hint or advice would greatly be appreciated. Thanks