aziz rasul
Active member
- Local time
- Today, 09:40
- Joined
- Jun 26, 2000
- Messages
- 1,935
I have a form called "frmCompanies". On the Open & Load events I have the following code: -
When the form is opened the menubar appears no problem.
I have another form called "frmProductsandDistribution" on which I have a label. On the Dbl Click event of the label I have the following code: -
This makes "frmCompanies" appear on top of "frmProductsandDistribution". However the menubar does NOT appear. What am I doing wrong?
Code:
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i
Application.CommandBars("Menu Bar").Enabled = True
When the form is opened the menubar appears no problem.
I have another form called "frmProductsandDistribution" on which I have a label. On the Dbl Click event of the label I have the following code: -
Code:
DoCmd.OpenForm "frmCompanies", acNormal, , , acFormEdit, acDialog
This makes "frmCompanies" appear on top of "frmProductsandDistribution". However the menubar does NOT appear. What am I doing wrong?