Ok...I have a strong idea what might have happened but can't figure how to fix it. Using Access 2000 I was creating a new form based on an old form which already had controls tied to event procedures. I did the old "Save As" and just renamed the new form. I then Renamed the control name on the new form for the button tied to an event procedure. I think I should have just deleted the copied over control button and recreated a new one for the new form but I did not. I then noticed when I tried to close the original form it kept asking if I wanted to save changes. I would say yes but the same dialog box kept popping up asking if I wanted to save changes on the original form. Not sure of the next sequence but I ended up just deleting the old form since I did not need it any longer. I began adding all my new fields and formatting to the new form and everything looked just great. I closed the new form, saved it and now for the life of me I cannot re-open the form in either form or design view. I cannot use the view code button to see the code. Whenever I try to click the form name in the Database Window nothing happens. No error messages...it just will not open the form.
I am not at all familiar with the VB editor or browser but was able to open the code on a form that works and used the object browser to locate my non-functioning form under the Class section. In the Members section I found the suspect Control button listed and was able to view the code from there. Problem is when I try to either edit the code or delete the code for that event procedure from the object browser it generates a Access Error message stating:
The instruction at "0x6503d227" referenced memory at "0x00000017". The memory could not be "read".
Then if I click on Cancel a debug program is supposed to run but I get a Program error message stating an error log has been created and MS ACCESS closes.
I know that I can just recreate the new form totally by scratch if I need to. I am just concerned I may have some code issues now that will impact the rest of my database at some point. Currently all my other forms are working correctly. I would really like to retrieve the form I created if possible though...even if I could just get into design view to copy over my formatting and fields to a new blank form. Any help is appreciated.
I am basically a end user with only a little exp with VB and event procedures. Just enough to get me in trouble I guess.
So in a nutshell:
1. Is there anyway to open my form in design view?
2. Any other ways I can get back into the code for the non-functioning form
4. Where can I find the error log MSACCESS says it generated?
5. AND I really need to know the do's and dont's of making copies of forms with controls. How can I make multiple forms with similar formatting/layouts without running into coding problems? Rename or don't rename controls between forms?
I know I'm asking alot..but will appreciate any insight time allows from those willing to offer.
Thanks in advance
I am not at all familiar with the VB editor or browser but was able to open the code on a form that works and used the object browser to locate my non-functioning form under the Class section. In the Members section I found the suspect Control button listed and was able to view the code from there. Problem is when I try to either edit the code or delete the code for that event procedure from the object browser it generates a Access Error message stating:
The instruction at "0x6503d227" referenced memory at "0x00000017". The memory could not be "read".
Then if I click on Cancel a debug program is supposed to run but I get a Program error message stating an error log has been created and MS ACCESS closes.
I know that I can just recreate the new form totally by scratch if I need to. I am just concerned I may have some code issues now that will impact the rest of my database at some point. Currently all my other forms are working correctly. I would really like to retrieve the form I created if possible though...even if I could just get into design view to copy over my formatting and fields to a new blank form. Any help is appreciated.
I am basically a end user with only a little exp with VB and event procedures. Just enough to get me in trouble I guess.
So in a nutshell:
1. Is there anyway to open my form in design view?
2. Any other ways I can get back into the code for the non-functioning form
4. Where can I find the error log MSACCESS says it generated?
5. AND I really need to know the do's and dont's of making copies of forms with controls. How can I make multiple forms with similar formatting/layouts without running into coding problems? Rename or don't rename controls between forms?
I know I'm asking alot..but will appreciate any insight time allows from those willing to offer.
Thanks in advance