Hello,
I was working on my Access application yesterday (backend is Microsoft SQL). I created a couple of forms, did some design changes in the forms, then some coding... Everything worked great, so I turned the PC off and was looking forward to continue working on it today.
But, when I came to the app this morning, some very strange things are happening:
- The forms I created are no longer there... But in VBA Editor, the class objects of those forms are there! However, if I click:
- "View code": Error accessing file. Network connection may have been lost. (needless to say, I can open any other class/module)
- "View object": Form doens't exist
- If I try to create the form again with the same name by:
- Copying another form (similar one, like I did yesterday): Nothing happens. No error message, form doens't get created (it does with a different name)
- Creating a new form from scratch - it DOES create with the same name. I can work with the new form, but if I try to get into the code (for example create "On Current Event", I get the same error: Error accessing file. Network connection may have been lost.
Furthermore, the design changes I did in some other forms seem to be broken (something stayed, something didn't).
I tried "Compact & Repair" that didn't help. I checked the save date of the accdb file from my backup drive, it says yesterday 5:20 pm, when everything was working fine...
What in the world is happening here???