Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Switchboard Event

Status
Not open for further replies.

lpgagirl

Technical User
Feb 3, 2003
202
CA
My database has a switchboard with 6 buttons to choose from. One of these buttons will list all records associated to a company name. Currently, when the button is clicked an "Enter Parameter Value" window comes up to have the user enter the name of the company to search for. Once the company is entered the DB opens a subform with all records associated. I would like to have a selection box appear instead of an enter parameter value window, where the user can simply select from the drop down list which company he wants to view. How can I do this?

Thanking you in advance,



Jeannie
 
One way is to have a form with a combo and a button.
The combo list the companies.
The button launch the form with the selected criteria.
Note: the form's underlaying query shouldn't be parametized.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
I am using a "HandleButtonClick(3)" in the on click event of the switchboard button; where 3 is defined as: Const CmdOpenFormBrowse.

In this case how can I have a drop down list instead of the paremeter value window?

Thanks again,

Jeannie
 
Sorry, I've never played with switchboard.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top