hi guys, i am also posting this question in the MySQL forum but am putting the detailed post on here. here is the message i am having problems with:

i've done a few experiments on the cause of this error and i've noticed tendancies but do not know of any way to eliminate this problem. this error seemingly occurs at random but i can always make the error occur whenever i add or drop a field in the MySQL database. closing and reopening access will fix the problem about 1 out of 10 times. i also test the odbc connection thru the MySQL ODBC 3.5.1 interface and it checks out. if closing and reopening the access database does not fix the problem, that particular table is always blocked by this error for 10-20 minutes. sometimes, all other tables have the same error when i try opening them and other times the error is limited to one particular table. after that, the problem goes away.
this error is also very sporadic--it can go weeks without the error and then have 3+ of these errors in one day. the MySQL database is used for our webstore and the person who programmed it has no idea why this error would be occurring but he does not know much about access. he and i are the only ones with our hands on it. i believe the problem lies with ODBC driver or Access b/c the store has never had a problem connecting--even when i am experiencing the error.
i have changed the reconnect settings in access. i currently have the ODBC refresh interval at 10secs--the default is 60 i believe. and i have seen previous posts that stated putting code in a form whose record source is the table that is giving troubles to refresh the form ever 30 secs or so and that has also not gotten me anywhere.
i've been delaying this post for quite some time hoping i could fix it myself but i have exhausted all my resources. does anyone know how i can keep this error from happening? i'm using access 2007 and MySQL ODBC 3.51

i've done a few experiments on the cause of this error and i've noticed tendancies but do not know of any way to eliminate this problem. this error seemingly occurs at random but i can always make the error occur whenever i add or drop a field in the MySQL database. closing and reopening access will fix the problem about 1 out of 10 times. i also test the odbc connection thru the MySQL ODBC 3.5.1 interface and it checks out. if closing and reopening the access database does not fix the problem, that particular table is always blocked by this error for 10-20 minutes. sometimes, all other tables have the same error when i try opening them and other times the error is limited to one particular table. after that, the problem goes away.
this error is also very sporadic--it can go weeks without the error and then have 3+ of these errors in one day. the MySQL database is used for our webstore and the person who programmed it has no idea why this error would be occurring but he does not know much about access. he and i are the only ones with our hands on it. i believe the problem lies with ODBC driver or Access b/c the store has never had a problem connecting--even when i am experiencing the error.
i have changed the reconnect settings in access. i currently have the ODBC refresh interval at 10secs--the default is 60 i believe. and i have seen previous posts that stated putting code in a form whose record source is the table that is giving troubles to refresh the form ever 30 secs or so and that has also not gotten me anywhere.
i've been delaying this post for quite some time hoping i could fix it myself but i have exhausted all my resources. does anyone know how i can keep this error from happening? i'm using access 2007 and MySQL ODBC 3.51
Comment