custom shortcut

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hi

I'm not sure if this is possible, but what I'd like to do is to have a
custom command on the context menu when I right-click on the name of a
table. When the command is selected, a msgbox will display the name of that
table.

Your tip is really appreciated.
Thanks
Steve
 
i am confused. what do you want a message box to tell what
table you just click on???!??!??!
 
Ok, let me try again.

When a database is opened, there are different objects on the left (Tables,
Queries, Forms, etc.). Click on Tables object, and we have whatever tables
(Table1, Table2, etc.). Now, if I right-click on Table1, I would get a
context menu (showing different commands: Open, Design View, Print, etc.).

Objective 1: I'd like to add to this context menu a command of my own (ex.
GetTableName).
Objective 2: When the GetTableName is selected, a popup will display the
name of the selected table. That is, if I right-click on Table1 and select
GetTableName command, the popup will say Table1. If I right-click on
Table2, the popup will say Table2, and so on.

Please help.
Thanks
Steve
 
Back
Top