keep getting errors when clicking on "buttons" for close form etc

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

every button on my form brings up an error window. I don't know code, but it
is taking it to an error code. "event procedure" is in "on click" in the
properties window. Any help is appreciated.

wayne
 
Did you try a macro like "open switchboard"?

On "OpenForm" write in the "FormName" Field: Switchboard
in "View" set Form and
in "WindowMode" set Normal

By saving it give it a propriate name like: "mcrOpenSwitchboard"

Instead of having a <Event Procedure> set in the On Click of the Property
put the macro word in it, by using the pulldown arrow to the right of the
field.

Would that help?

Bernhard
 
every button on my form brings up an error window. I don't know code, but it
is taking it to an error code. "event procedure" is in "on click" in the
properties window. Any help is appreciated.

wayne

Click on the ... icon next to the [Event Procedure] in the button's
properties. This will open the VBA editor.

It would seem that there is an error somewhere in your VBA code. Try
selecting Debug... Compile <my database> from the menu after opening
the VBA editor. Do you get a compile error? If so, please post the
text of the error message and copy and paste a few lines before and
after the line with the error to a message here; someone should be
able to help.

John W. Vinson[MVP]
 
Back
Top