Eileen Murphy
asked on
Access 2007 Stops Working - Restarts
Hi Experts! This problem is maddening... I hope someone has some suggestions... I am developing an application in Access 2007 -- and every time I attempt to create a new Form (I've tried clicking on Form, on Blank Form or Form Design) I get a message that Microsoft Access has stopped working and must restart... I've tried adding and then saving a blank unbound form - still happens, compacting and repairing the db, have creatd a new db and imported everything in twice, have repaired my installation of Office, twice. I have not let the db bloat to more than 2 mb (so far)... I have also decompiled ... I'm out of ideas...
I'm running Access v: 2007 SP2 MSO
This laptop is running Vista 6.0 SP2
Thanks for any help you can give me.... Best, Eileen
I'm running Access v: 2007 SP2 MSO
This laptop is running Vista 6.0 SP2
Thanks for any help you can give me.... Best, Eileen
ASKER
So far it's only happening on forms. I managed to get a form to save by copying an existing form and just changing its recordsource and so forth. Not ideal, but I'm kind of under a time constaint. I guess I could uninstall/reinstall -- would hate to have to re-update everything.. that's always a drag...
I wrote a batch file to decompile -- not sure it even decompiled... I do it all the time in 2003 -- but 2007 is different...
I wrote a batch file to decompile -- not sure it even decompiled... I do it all the time in 2003 -- but 2007 is different...
"but 2007 is different..."
Well ... not really. Try this - attached. Just be sure to use the correct folder paths for Office / A2007.
mx
aaQicPostDecompile.txt
Well ... not really. Try this - attached. Just be sure to use the correct folder paths for Office / A2007.
mx
aaQicPostDecompile.txt
ASKER
That's funny -- I found that somewhere on the net and used the exact syntax and of course followed all the recommended steps... This is kuckoo. I say it's different because in 2003 the decompile used to open the app when done... path is right or both the msaccess.exe and my app. Good suggestion though....
ASKER
meant "path is right for" ... typing too fast...
So, after Decompile in A2007, Access doesn't open ?
mx
mx
ASKER
Yes... I copied a batch file I used for 2003 apps -- changed nothing except the path to the app...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did -- exactly... sorry if I didn't make that clear :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found the problem: one of the subforms on a form was corrupt. Unfortunately, the form I designated as the Form Template within the Access options was the form which contained the bad subform. While the form was fine to open and enter data into --- when I tried to add a new form I'd get the following message: Microsoft Access has stopped working and must restart... Even after I created a new db and imported everything back in, compacted & repaired, etc. Was at my wits end.... I was able to copy existing reports and change them --- but could not add a new one. I figured the difference was the Form Template.... Aha! So, I once again created a new db, pulled all but the main form and subforms into it -- and then one by one imported the subforms in --- tried to add a new form --- and when I encountered the problem knew which subform was at issue. I wanted post this so if it happens to anyone else --- try this. I would like to assign the points to Mx because of the assistance.
ASKER
See my final comment for the actual solution.
Thank you for the feedback on the solution ... very cool.
mx
mx
Also ... does this only happen on Forms ?
mx