PC Review


Reply
Thread Tools Rate Thread

Combo Search Box

 
 
=?Utf-8?B?YmxhZGVsb2Nr?=
Guest
Posts: n/a
 
      15th Mar 2007
I used the wizard to create a combo search box on a form which works great. I
have three fields: Fname, Lname, HE#. I'm searching on Fname. How can I get
the the combo box to index the search? For Example: When I type the name
Carl, I would like to see all the "Carl's" in order, this way I can choose
the right person by last name. The data is all scattered, I need to see Fname
in order.

Combo Box: Row Source:
SELECT [MOTHER7].[ID], [MOTHER7].[FNAME], [MOTHER7].[LNAME], [MOTHER7].[HE]
FROM MOTHER7;
 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VuIFNoZXJpZGFu?=
Guest
Posts: n/a
 
      15th Mar 2007
SELECT [MOTHER7].[ID], [MOTHER7].[FNAME], [MOTHER7].[LNAME], [MOTHER7].[HE]
FROM MOTHER7 ORDER BY [MOTHER7].[FNAME];

Ken Sheridan
Stafford, England

"bladelock" wrote:

> I used the wizard to create a combo search box on a form which works great. I
> have three fields: Fname, Lname, HE#. I'm searching on Fname. How can I get
> the the combo box to index the search? For Example: When I type the name
> Carl, I would like to see all the "Carl's" in order, this way I can choose
> the right person by last name. The data is all scattered, I need to see Fname
> in order.
>
> Combo Box: Row Source:
> SELECT [MOTHER7].[ID], [MOTHER7].[FNAME], [MOTHER7].[LNAME], [MOTHER7].[HE]
> FROM MOTHER7;


 
Reply With Quote
 
=?Utf-8?B?V2F5bmUtSS1N?=
Guest
Posts: n/a
 
      15th Mar 2007
Hi

Use this
SELECT [MOTHER7].[ID], [MOTHER7].[FNAME], [MOTHER7].[LNAME], [MOTHER7].[HE]
FROM [MOTHER7] ORDER BY [FNAME], [LNAME];

Don't forget you can always use the wizard to create a query to run to combo
and you can sort this in any way you want.


Hope this helps

--
Wayne
Manchester, England.



"bladelock" wrote:

> I used the wizard to create a combo search box on a form which works great. I
> have three fields: Fname, Lname, HE#. I'm searching on Fname. How can I get
> the the combo box to index the search? For Example: When I type the name
> Carl, I would like to see all the "Carl's" in order, this way I can choose
> the right person by last name. The data is all scattered, I need to see Fname
> in order.
>
> Combo Box: Row Source:
> SELECT [MOTHER7].[ID], [MOTHER7].[FNAME], [MOTHER7].[LNAME], [MOTHER7].[HE]
> FROM MOTHER7;

 
Reply With Quote
 
=?Utf-8?B?T2ZlciBDb2hlbg==?=
Guest
Posts: n/a
 
      15th Mar 2007
If you can hide the Id column in the combo box, set the column width of the
ID to 0.
That way the first name will apear as the first column, and the AutoFill
will apply to it


--
Good Luck
BS"D


"bladelock" wrote:

> I used the wizard to create a combo search box on a form which works great. I
> have three fields: Fname, Lname, HE#. I'm searching on Fname. How can I get
> the the combo box to index the search? For Example: When I type the name
> Carl, I would like to see all the "Carl's" in order, this way I can choose
> the right person by last name. The data is all scattered, I need to see Fname
> in order.
>
> Combo Box: Row Source:
> SELECT [MOTHER7].[ID], [MOTHER7].[FNAME], [MOTHER7].[LNAME], [MOTHER7].[HE]
> FROM MOTHER7;

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo Box - Search marf Microsoft Access 1 10th Jun 2008 10:30 PM
Error in my Search By - Search For Combo Boxes =?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?= Microsoft Access VBA Modules 3 9th Mar 2006 08:09 AM
Search Criteria: Two combo boxes: Issue with second combo Lance Microsoft Access Forms 0 21st Oct 2005 03:21 PM
search button to report based on multiple combo boxs ( combo criteria based upon queries ) kupppppz@gmail.com Microsoft Access Forms 6 5th Oct 2005 05:02 PM
combo box search Microsoft Access Getting Started 2 16th Sep 2004 02:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:55 PM.