Cyberwolf said:
Can anyone point to a sites that would have coding to create my own
switchboard manager? The built-in one is nice but it only allows 8 buttons
and I have come across several instances where I could use more.
TIA
I tried usid using the switchboard manager for my application, and ran
into the same wall. I found the swb manager to be very inefficient (for
my needs) and not easily modifiable. BUT, it did give me some very
good(IMHO) ideas on waht needed to be done.
1. Create your form with a combo box versus buttons. The cbo source
should be a local table (not linked) that contains information like:
DisplayName; ActualName
DisplayName is the text to appear in the cbo
ActualName is the actual name of the thing you want execute, run, or open
2. Add one command button "Open Form". Make the onClick event of the
command button "Open" the form in the cbo.
If you add (or delete) a form from your application, just modify the table.
I use this setup in many applications. In fact, I use this same setup as
a database switchboard manager. Instead of opening forms within a
database, I open other databases.(Free for the asking).
You could aloso modify the the source table to include a "Type" field,
where 'Type' would be the type of thing to be opened(Table, Report,
Query or Form). The Click event of the Open button would need to be
modified accordingly.
HTH,
Andy