Forms Menu in a Combobox

hassanlabban

Registered User.
Local time
Today, 17:01
Joined
Oct 25, 2014
Messages
23
Dear Friends
i was wondering if there is a way to make the forms and reports i have in my database show in a combobox where i can choose which form to use same as queries names in a combobox?
if yes, i appreciate letting me the way to do it.

Thanks
 
One way wold be to create a table that holds
Object Name
Object Type
Description

Then present them in the Combo box.?

Another would be walk through a system table, but then I believe you would be stuck using the object names which might not be that descriptive?
 
Dear Gasman
If we went that way, how to link the forms to the entries in the table?

thanks
 
You would use
Docmd.OpenForm Me.cboObjectName.Column(0) (if the object name is the first field in the combo rowsource)

where the first field (objectname) would be hidden and you show the descriptive name.
You could then add option for Arguments to the OpenForm in the table as well?
 

Users who are viewing this thread

Back
Top Bottom