Form Not Open - Access Close

  • Thread starter יריב החביב
  • Start date
×

יריב החביב

Hello,

I am trying to open a form in my application ( also in design),

but i get this massege and access close. What can i do ?

the massege : "Microsoft Office Access has encountered a problem and needs to

close "


Thank You
 
T

Tom Wickerath

Hi תודה רבה,

If the corruption is fairly minor, these steps might solve it for you. Try
opening your database with the undocumented /decompile switch. If you have
only one version of Access installed on your PC, then click on Start | Run
and enter:

msaccess /decompile

Browse to your database. Hold the Shift key down the entire time that is is
opening, to prevent any startup code from running. As soon as the database is
open, do a compact and repair, again holding the Shift key down the entire
time. Then open any code module (create a new one, if required) and compile
your project, using:

Debug | Compile {ProjectName}

where {ProjectName} is the name of your VBA project.


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
 
×

יריב החביב

thank you,

Can you, please, tell me what is "undocumented /decompile switch" ?
 
×

יריב החביב

thank you, it didnt solve the problem, but i learn somthing new.

i will build the trouble maker form again
--

thank you

תודה רבה


Tom Wickerath said:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top