I just came back from vacation and ran one of the programs I wrote and I get this error 2501 on the line Docmd.OpenForm "DataConnect"
The program is a Frontend to the tables located on our server. The DataConnect verifies that the program and tables are connected. The program worked fine when I left a few weeks ago. It runs if I bypass the the form that calls it which I can then manually connect to the tables and the rest of the program works.
Checking my backup, it does the same thing. Checking a few other programs that use the same process they get the same error.
I am thinking that Windows must have updated something, but how to find it??? I even recompiled the program and got no errors. So, I am stumped.
This is so bizarre. Every program including the older backups have the same issue and on all computers. Even those compiled to an accde. So, I am sure something in a Windows Update must have caused this problem. I have no other answer. BTW this is Access 2007.
I found a solution for fixing a corrupted program on this site. I just have open a new database and import all the forms, reports, etc. Then it works!!!!!!!! What the heck! At least that fixed the issue, until the next update.
The program is a Frontend to the tables located on our server. The DataConnect verifies that the program and tables are connected. The program worked fine when I left a few weeks ago. It runs if I bypass the the form that calls it which I can then manually connect to the tables and the rest of the program works.
Checking my backup, it does the same thing. Checking a few other programs that use the same process they get the same error.
I am thinking that Windows must have updated something, but how to find it??? I even recompiled the program and got no errors. So, I am stumped.
This is so bizarre. Every program including the older backups have the same issue and on all computers. Even those compiled to an accde. So, I am sure something in a Windows Update must have caused this problem. I have no other answer. BTW this is Access 2007.
I found a solution for fixing a corrupted program on this site. I just have open a new database and import all the forms, reports, etc. Then it works!!!!!!!! What the heck! At least that fixed the issue, until the next update.
Last edited: