D
DMUM
Hello
I am developing a new database and created a form that contains 2 subforms.
I created code behind the main form that was connected to one of the command
buttons, but I did not create any other events for this form or the sub forms.
The sub form are based on queries. The Main form is just a container for the
subforms. Today I have been trying to open my form which I will call
frm_Main. When I try to open it, the screen makes a slight blink, but
nothing happens. When I try to open in design view, the tool bar shows up,
but the form never opens. When I attempt to delete the form, Access gives a
message that the form (object)can not be deleted because it is open. I have
compiled and repaired the database. I have also created a blank database and
imported the subforms and frm_main. Same problem. In my original database,
I can't open the subforms or delete them. In my import build, I have been
able to view and delete the subforms, but the frm_main will still not open
even though Access says it is still open. I deleted all the code attached to
all the forms which hasn't changed anything either. I could just re-create
the form, but I'm worried that this will just happen again. So I would like
to identify the problem and the fix if possible first.
Thank you
I am developing a new database and created a form that contains 2 subforms.
I created code behind the main form that was connected to one of the command
buttons, but I did not create any other events for this form or the sub forms.
The sub form are based on queries. The Main form is just a container for the
subforms. Today I have been trying to open my form which I will call
frm_Main. When I try to open it, the screen makes a slight blink, but
nothing happens. When I try to open in design view, the tool bar shows up,
but the form never opens. When I attempt to delete the form, Access gives a
message that the form (object)can not be deleted because it is open. I have
compiled and repaired the database. I have also created a blank database and
imported the subforms and frm_main. Same problem. In my original database,
I can't open the subforms or delete them. In my import build, I have been
able to view and delete the subforms, but the frm_main will still not open
even though Access says it is still open. I deleted all the code attached to
all the forms which hasn't changed anything either. I could just re-create
the form, but I'm worried that this will just happen again. So I would like
to identify the problem and the fix if possible first.
Thank you