Error returned

C

Capt_klutzz

I am trying to use a sample on the MS assistance site to create a form to enter report criteria. I have followed all the steps very closely except for the actuall form, report and oblect names. When I enter thae data an press the button to run the macros, I get an error message that shows there being a problem with the macro. the message reads "you entered an expressuon tha has an invalid referenceto the property visible"the instructions for the macro show the following..
Argument: Setting
Item [Visible
Expression N

upon closing the error boxI get another error message that pops up referencing the macro and the above mentioned argument settings....I am a bit new at this so Im guessing its eiter a naming convention error that I have made or a syntax error. Any help would be highly appreciated, and please be gentle, as I said, I am a newbie..

Thanx
 
K

Ken Snell

Add the name of the control to which the visible property pertains:

Item: [ControlName].Visible


--
Ken Snell
<MS ACCESS MVP>

Capt_klutzz said:
I am trying to use a sample on the MS assistance site to create a form to
enter report criteria. I have followed all the steps very closely except for
the actuall form, report and oblect names. When I enter thae data an press
the button to run the macros, I get an error message that shows there being
a problem with the macro. the message reads "you entered an expressuon tha
has an invalid referenceto the property visible"the instructions for the
macro show the following...
Argument: Setting:
Item [Visible]
Expression No

upon closing the error boxI get another error message that pops up
referencing the macro and the above mentioned argument settings....I am a
bit new at this so Im guessing its eiter a naming convention error that I
have made or a syntax error. Any help would be highly appreciated, and
please be gentle, as I said, I am a newbie...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top