Hi all,
I have a sort of menu form which, when initially opened, opens several other forms but hidden, this works for most of the forms, but I recently added a new form to the dbase and it doesnt work! heres what I have in the on load of the menu form:
DoCmd.OpenForm "first form", , , , , acHidden
DoCmd.OpenForm "second form", , , , , acHidden
DoCmd.OpenForm "third form", , , , , acHidden
etc etc
now each of the above is activated by using a cmd button, whos code is:
docmd.openform "form name"
this all works perfectly apart from my new form, when I click the button, nothing happens! I played about with the forms on load, on resize etc to see if I could get it to work, but nothing at all. Can anyone suggest why this may be? the form is definately open (but invisible) since if I try to rename it in the main dbase window, it says I cant because its open.
TIA
CALV
Edit:
If I remove the recordsource from the form, it works fine!
I have a sort of menu form which, when initially opened, opens several other forms but hidden, this works for most of the forms, but I recently added a new form to the dbase and it doesnt work! heres what I have in the on load of the menu form:
DoCmd.OpenForm "first form", , , , , acHidden
DoCmd.OpenForm "second form", , , , , acHidden
DoCmd.OpenForm "third form", , , , , acHidden
etc etc
now each of the above is activated by using a cmd button, whos code is:
docmd.openform "form name"
this all works perfectly apart from my new form, when I click the button, nothing happens! I played about with the forms on load, on resize etc to see if I could get it to work, but nothing at all. Can anyone suggest why this may be? the form is definately open (but invisible) since if I try to rename it in the main dbase window, it says I cant because its open.
TIA
CALV
Edit:
If I remove the recordsource from the form, it works fine!
Last edited: