Set form navigation buttons property

R

redsanders

Reviewed earlier post on problems of setting the Visible property in Access
2003, and followed directions in MS Knowledge base article 841916 in creating
a module, and then running via a macro. But I still can't set the Visible
property of the Navigation buttons on my "VisitsFrm". Staying as close to
the directions as possible, created the module and named it "SetVisible".
Then had a Macro Action to RunCode. I have the following in the Function
Name box, but I get a "Type Mismatch" error message when it is run.

SetVisible(Forms!VisitsFrm.NavigationButtons, True)
 
P

Peter Fox

I did this purely from a macro:

action Setvalue
item [Forms]![formname].[NavigationButtons]
Expression No

I tried this by activating on a command button's on click event property:
navigation buttons disappeared.

Hope this helps
 

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