Inability to View Form Coding

  • Thread starter Thread starter Denis Bisson via AccessMonster.com
  • Start date Start date
D

Denis Bisson via AccessMonster.com

Good day,

While I can view one of my forms in Design View, I am unable to view its
procedures from/by the following manners (Note I can view the code for the
other 6 forms):
- Project Explorer (in fact, the form is not even displayed here);
- F11;
- Selecting the form from the Database Window, then the “Code” button;
- From any Event of the Form or any of the forms’ controls.

None of the code has been compiled.
Any suggestions as to what may have caused this and/or how to rectify it?


Thank you

Denis
 
Denis said:
Good day,

While I can view one of my forms in Design View, I am unable to view
its procedures from/by the following manners (Note I can view the
code for the other 6 forms):
- Project Explorer (in fact, the form is not even displayed here);
- F11;
- Selecting the form from the Database Window, then the "Code" button;
- From any Event of the Form or any of the forms' controls.

None of the code has been compiled.
Any suggestions as to what may have caused this and/or how to rectify
it?

Are you sure it has any procedures? The form won't have a code module
associated with it until at least one procedure has been created for it.
 
Hello Rick,

Yes it has procedures. I created the db about three years ago (in Access 2000
- hasn't been used since 2001 - Re-Registration Audit cycle thing). I am able
to open the form, navigate accordingly, and most of the functionality is
working. I was trying to check the code for one specific task that has
unexplainably ceased working, when I discovered that I could not get in to
see the code.

Denis
 
Denis said:
Hello Rick,

Yes it has procedures. I created the db about three years ago (in
Access 2000 - hasn't been used since 2001 - Re-Registration Audit
cycle thing). I am able to open the form, navigate accordingly, and
most of the functionality is working. I was trying to check the code
for one specific task that has unexplainably ceased working, when I
discovered that I could not get in to see the code.

Denis

Could be corrupt then. Have you tried importing it into a new file?
Another option is to try the SaveAsText and LoadFromText commands. Those
will often fix a corrupted object.
 
Rick,

Yes, I unsuccessfully tried to create a new database and importing from the
old db.
One thing that somehow worked though, was that I copied all the controls from
the old form; created a new form and pasted the controls. Don't understand it,
but we are "A OKAY!"

Thanks again!
Denis
 
Back
Top