Problem with Custom Toolbar

M

mscertified

Whenever I press the printer icon on this toolbar I get a message 'the
expression you entered has a function name that cant be found'.
Does anyone have a clue as to what this means? How do I debug this?

I looked at the report being printed and can see nothing wrong.
 
O

OldPro

Whenever I press the printer icon on this toolbar I get a message 'the
expression you entered has a function name that cant be found'.
Does anyone have a clue as to what this means? How do I debug this?

I looked at the report being printed and can see nothing wrong.

1) From the menu select View, Toolbars, Customize.
2) Click on your custom menu/toolbar to display it.
3) Right-click on the menu item and choose Properties.
4) What is displayed in the OnAction property? It should be the name
of a function to call when the user selects this item. If there is a
function, then it cannot be found when the user is clicking the menu/
icon. Is the function in a public module where it can be accessed
from anywhere? Is it declared as Public?
 
M

mscertified

Thanks for the offer of help...
I'm stuck on your instructions. I am using Access 2003.
Step (3) when I right click on the toolbar name nothing happens. If I click
'properties button' I see a 'toolbar properties' screen but no mention of an
'on action' property?
Step (4) I looked and looked but I cannot find ay 'on action' property
anywhere??? where are the properties?
 
S

Steve

Did you first go to View, Toolbars, Customize? OldPro did not mean to just
right click on your menu at the top of the screen.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 

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