Switchboards

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a switchboard with links to specific tables to display all of the records contained within it. I would like to create a command to go straight to a specific customer detail. For example, I have a table called customer details, I would like to click on a button from the Swichboard and be prompted to enter the customer's surname, this will then take me straight to that record.

Help please..................
 
Amanda,

You can put an unbound textbox, or preferably a combobox, on the
switchboard form, where you can select the customer (if you use a
combobox, the actual value of the combobox will be the Customer ID
rather than the customer surname, even though you can set up the
combobox so that the name is what is displayed). Then, you can put code
like this on the Click event of the command button...
DoCmd.OpenForm "Customer Details", , , "[Customer ID]=" &
Me.NameOfYourCombobox
This will show the record for the selected customer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Switchboard 9
Return To Switchboard 1
Access Switchboard error message 1
Switchboard Button Does Not Work 1
Building a "branching" switchboard 2
Macros 3
Build search function in to a form 5
Controlling another switchboard 2

Back
Top