Refering to a control with stored values

sethindeed

Centurion
Joined
Dec 31, 1969
Messages
118
Location
Montreal Canada
Here is my problem :

I am storing the menu mapping of an MDI application in an access database. My table contains menu item names, text and shortcut.
I am trying to figure out a way to directly refer to a control ( menu item ) using the content of a field.

i.e : ctl = OleReader("MenuItemName")

then use the ctl variable to set the menu item properties. I want to do so to avoid huge Select Case structure. Anybody has done something similar before ?

thx
 
Back
Top