Hi there,
Yes, this is possible.
Basically, there are a few ways to accomplish what you need. If you want to search for one number in the list of multiple numbers, use a LIKE statement in your query, like this:
WHERE IncumbentName LIKE '%" & searchString & "%'"
The % works like a wild card, so it will find a part of a string in a longer string / text.
If you need to search for multiple items, use the Split method (available in ASP VBScript) on the server to split the search string into multiple elements into an array. Then use this array to add a WHERE clause with a LIKE for each statement, like WHERE Something LIKE this AND Something LIKE that etc etc.
You'll need to do a bit of coding to accomplish this but it is possible.
Search sites like
www.4guysfromrolla.com,
www.asp101.com,
msdn.microsoft.com and this forum for more information.
One more thing: if you are going to insert multiple items separated by a comma, IMO it makes more sense to give each item a record. If you later need to join these items on other tables, things will be much easier than storing all your items in a single text column.
Regards and good luck,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.