I would like to have one list box that would drop down a list of forms
then the user would choose a form to open and another list box to drop down
and let the user choose a report to open.
One alternative (though I really don't like it all that much) is to
use the Switchboard Wizard in Access. It creates a form with buttons,
each of which can be programmed (using the wizard, you don't need to
write code) to launch forms or reports.
Alternatively, as Tina suggests, you can create your own Form. What
I've done is to create a table named Switchboard, with four fields -
Seq, ObjectType, ObjectName and ObjectLabel. ObjectName contains the
actual name of the Form or Report; ObjectLabel a human-meaningful name
for that report. For instance you might have a Report named
rptAnnualSummary with its ObjectLabel set to "Annual Summary Report".
Seq is just a number defining the order in which you want the
forms/reports to appear, and ObjectType is a number indicating whether
the object is a Form or Report (or, in my case, a query or a
procedure).
You would fill this table with the names and labels of your forms and
reports; then create an unbound Form. Use the New Form button on the
forms window but DON'T choose a table. Instead, put a Listbox (or two
if you prefer) on the form; its Row Source should be this switchboard
table.
You would then put VBA code in the listbox's DoubleClick event to
actually launch the form. Post back if you'ld like sample code.
John W. Vinson[MVP]