473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

narrow search as you type

Hi,

I'd like to find a way of narrowing a search, as you type in a field. Kind of
like when you have a big list, as you type, it narrows down the items in the
list to things that match what you have typed. Can anyone point me in the
right direction or give me a link that has an example of how to do it?

Thanks,

Jason

ps. please remove NO SPAM to email me.

Nov 12 '05 #1
2 3428
That's exactly what a Combo Box does by default, so a Combo Box should do
what you want. You'd have to manually reset the AutoExpand property to False
to keep it from doing what you describe.

Larry Linson
Microsoft Access MVP

"Jason Lewis" <ja***@NOdicksonSPAM.st> wrote in message
news:3f***********************@news.swiftel.com.au ...
Hi,

I'd like to find a way of narrowing a search, as you type in a field. Kind of like when you have a big list, as you type, it narrows down the items in the list to things that match what you have typed. Can anyone point me in the
right direction or give me a link that has an example of how to do it?

Thanks,

Jason

ps. please remove NO SPAM to email me.

Nov 12 '05 #2
Hi Larry,

Thanks for your suggestion. I don't think I was quite clear enough though.

I want the search to span multiple fields... ie, i have a product number and a
product description, I'd like to narrow the search as I type each character.

That may not be practical though, as there are many records in the database
(maybe 2000) so I was thinking, even if i could type a few characters, and
press return, and have a list of matching records returned, that would be
good. and then allow the user to type a few more characters to narow further
maybe.

Thanks anyway,

Jason

Larry Linson wrote:
That's exactly what a Combo Box does by default, so a Combo Box should do
what you want. You'd have to manually reset the AutoExpand property to False
to keep it from doing what you describe.

Larry Linson
Microsoft Access MVP

"Jason Lewis" <ja***@NOdicksonSPAM.st> wrote in message
news:3f***********************@news.swiftel.com.au ...
Hi,

I'd like to find a way of narrowing a search, as you type in a field. Kind


of
like when you have a big list, as you type, it narrows down the items in


the
list to things that match what you have typed. Can anyone point me in the
right direction or give me a link that has an example of how to do it?

Thanks,

Jason

ps. please remove NO SPAM to email me.



Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Les Juby | last post by:
A year or two back I needed a search script to scan thru HTML files on a client site. Usual sorta thing. A quick search turned up a neat script that provided great search results. It was fast,...
3
by: Dave | last post by:
The program below is conforming according to VC++ 7.1 and Comeau online. I would have expected a type mismatch. Am I seeing a compiler problem, or is the observed behavior correct? Thanks! ...
0
by: Randall Skelton | last post by:
Hi all, I have begun the slow process of shuffling data from about 125 narrow tables into a single wide table and I am seeking some insight on the 'fastest way.' The narrow tables are all of...
4
by: thinktwice | last post by:
i'm using VC++6 IDE i know i could use macros like A2T, T2A, but is there any way more decent way to do this?
4
by: BenCoo | last post by:
Hello, In a Binary Search Tree I get the error : Object must be of type String if I run the form only with the "Dim bstLidnummer As New BinarySearchTree" it works fine. Thanks for any...
4
by: =?UTF-8?Q?Jeff=E2=80=A6Relf?= | last post by:
Hi T_Wake, Speaking of my userContent.CSS, You told me: The text follows an inline image unless the CSS gives it a float value which allows it to overwrite text. Web pages can't override my...
1
Merlin1857
by: Merlin1857 | last post by:
How to search multiple fields using ASP A major issue for me when I first started writing in VB Script was constructing the ability to search a table using multiple field input from a form and...
13
by: jfarthing | last post by:
Hi everyone! I am using the script below to search a db. If the is more than one match in the db, all goes well. But if there is only one match in the db, nothing gets displayed. Any...
1
by: bobby44 | last post by:
Hi, I hope someone can help with a query I'm stuck on. I think it will involve inner join but I can't get my head around it. I have two tables that relate to venues fr weddings: --...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.