no button can be added?

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

Guest

Have run into something that I have never seen before.

An existing Access2000; all works fine. Was asked to add a form. Designed
the query for it. tested it. designed the form off it.

But when I added a new button to the main form to open the query and this
new form - - button will not function.

Button wizard launches fine. Attempted standard OpenForm option. Then
tried Miscellaneous option to attempt to open form via a macro...

Doesn't seem to want me to get a button to work. As test attempted to add a
button somewhere else other than the Main Form - and it won't work. I am
kind of thinking maybe the prior developer added this either as a precaution
or disgruntled...not sure, I suppose could be Access misfiring but I kind of
don't think so because pre-existing buttons are working....the new stuff all
works if I manually open the query and the form - only the new button
function is not working even though the wizard seems fine

When I put a new button Wizarded to run a Macro - and that Macro is set to
open the Form - I get the error reply: "Invalid procedure call or argument"

Am presuming maybe something buried in VBA but not sure where or what to
look for...would really welcome some advice on this one...thanx
 
Update; must be a Wizard problem.

Put in the button and canceled out the wizard. Then went to button
properties and manually entered Macroname into the OnClick event....works ok.

Not sure why button wizard isn't working but I guess that isn't critical....
 
Back
Top