Hi!
I have a very small database that I have made just for home use. Please find it attached. I have learned to program to make this only fairly recently. I couldn't find an app that suited my purposes, so I made one. However it seems that one of the forms has developed some kind of corruption. It was working fine previously, then I made some minor alterations (just added a field and associated DCount code, changed some expression builder sources and rearranged some form aesthetics. Even then, throughout the process it was fine - I constantly test it throughout the altering. It only started having this problem after I had finished it and started using it. Now when I load the form, the expression builder code works fine, but the VBA code doesn't load, and when I try to get into my coding, it gives the titled message.
I tried compact and repair. It did quite drastically reduce my file size (although this is a very small database, so size from 4888K to 1428K), but it made no change to the actual problem. I'm using Access 2007 (yeah, I know it's old, but it's what I have). Of course, I did some research and found that importing to a new database often works, so I tried that. It imported my tables fine, but had major problems with ALL my forms, basically saying it couldn't find any paths. Weird... It's only the one form that is the problem (STATS - altering). I'm making some form changes, and those in progress are copies with "altering" added to the name. Please also find attached the results of the weird import. It got stuck in some weird error message loop, so I had to Cntl-break out of it. Look, the rest of my forms work well, including the original form I was altering (STATS). What's the problem? And how do I fix it?
Gee, I thought Access was a reliable app. Large companies use it, right?? For much larger databases than mine. It only got to less than 1.5 Meg for goodness sake!! That's tiny!!
Thanks in advance!