HELP!

  • Thread starter Thread starter twells
  • Start date Start date
T

twells

I'm a newbie and I've done something I hope can be
reversed ... I set the properties on a form so that the
view cannot be changed nor the toolbars displayed, etc.
Now I can't get into it. Is there any way to reverse this?

Thanks
 
You might try this:

Right click on any form or report.and click on Design View.

Right click anywhere in the Form or Report and click on Properties at the
bottom of the pop-up menu.

Leave the Properties box open and Click on the Form or Report to select it.

Hold down your CTRL key and press the "R"

The Properties box will change it's display, click on the "Event" tab and
click in the "On Open" rectangle. An icon showing "..." will be displayed
to the right of the rectangle. Click it. A dialog box will appear. Click
on "Code".

The Visual Basic Editor will open with the cursor blinking between:

Private Sub Form_Open(Cancel As Integer)

End Sub

Either type or copy paste the following where the cursor is blinking.

Reports.Application.MenuBar = ""

There is a period between Reports and Application and a period between
Application and MenuBar, (MenuBar is one word no spaces) and after the
equals sign there are 2 quotation marks.

Close the Visual Basic Editor. Save the Form or Report and close it.

Then open the Form or Report normally. That should do it.

If it works reverse the above to remove the code.

Andy
 
Another note pending on what you did. Try holding the
shift key down while the dbase is opened. The go up
to "Tools" drop down and choose "Startup" and review your
settings from their.

GL
Lou
 
Back
Top