search

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

Guest

I want some help on these...
need a search box on the main switchboard.
(Text box for user input)
and three option buttons (for last name, post code, contact ID)

User inputs text in text box, and ticks one of the option button and clicks
search....

How do I do that?
 
I would not put this on the switchboard but a form opened from the switchboard.
You will also need an eveent or macro to run when one of the option buttons
is selected ( do not have option group default to anything).
In the query add a field like --
OPT: [Forms]![YourForm]![YourFrameNumber]
Enter in the first criteria row 1
in the second row 2
in the third row 3

In the first criteria row and below the last name field enter --
Like [Forms]![YourForm]![YourTextBox] & "*"

In the second criteria row and below the post codefield enter --
Like [Forms]![YourForm]![YourTextBox] & "*"

In the third criteria row and below the contact IDfield enter --
Like [Forms]![YourForm]![YourTextBox] & "*"
 

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

Back
Top