Dear all,
I'm a beginner in
vb, try to make an application than can filter menu to be shown for a user in the database.
I save the menuname in the database, so I can get the menu wich allowed to be shown for the user.
But the problem is :
I can not use the data (string) from that table to be use as object to show the menu.
example:
User "A" have "mnReports" in the table, so if "A" log in to the application, i use to change the property of the menu like this :
frmMain.mnReports.visible = true
but the problem is that I can not use the string "mnReports" as the frmmain's object.
Could someone give me some help?
Thank you,
YANDI