473,509 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Query all entries that contain user text

3 New Member
I would like a query that will search for all column entries that contain a user's input. For instance I have 1 column that contains numbers such as 6149.2243 and 6149.8965. The user will search for 6149 and I would like both entries to be returned.
Is there an easy criteria entry I can make to make the search return both results? My current query will only return exact matches.

Thanks,
Mike
Oct 25 '10 #1
3 1699
ADezii
8,834 Recognized Expert Expert
I don't think that you can create a Query that will search every single Field, in every Record, for a Partial Match on User entered criteria. I could be wrong since SQL is definitely not my strong point, but just wait and see if anyone comes up with a viable solution for you. This can, however, be accomplished relatively easily via code indicating exactly what Fields, in what Records, partial Matches exist. If you are interested, and if someone does not come up with a better solution, just let me know.
Oct 25 '10 #2
Michael McElyea
3 New Member
I think i might have worded my question badly. I have a table, Change List, and within that table one column is called 'Change ID'. The column Change ID is a field in the record. I want a query that will return all results from the column 'Change ID' that contain the search string entered by the user. I was hoping that I could put a criteria in my query that would return all items in that field that contain the user text.
Oct 26 '10 #3
Michael McElyea
3 New Member
I actually just figured it out. In the criteria i put, Like '*' & [ ] & '*'
That returned all results from the field that contained the user input string.
Oct 26 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

11
6630
by: Tore Halset | last post by:
Hello. I am trying to port an old java application from MS SQL Server to PostgreSQL running on Mac OS X. I have access to the java source code and can make modifications. I have tried with...
0
1227
by: Bart McFarling | last post by:
postgres 7.4.2 on a RedHat Enterprise Server using libpq on SCO Open Server Seems that if a command takes too long I get ERROR:Canceling query due to user request. I have ulimit=unlimited...
7
2201
by: stig | last post by:
hi. coming from postgresql, i am used to textual references to most of the things i do with the database. i feel a little lost with all the graphical. i have few questions regarding MS SQL 2000...
4
1496
by: Ty | last post by:
I have a problem that should be relatively easy to fix but the solution just seems to elude me. I am creating a Windows app that contains a text box that I wish to fill with data from a file. ...
2
19445
by: espositozero | last post by:
Hello... I'm REALLY new to this whole thing, so if you all don't mind speaking in lamens terms for me... What I want to do seems like it should be simple, but I've been searching everywhere and I...
7
1520
by: nemo | last post by:
Try to explain this as simple as I can - User provides a list (names, ID's, or ....) into a text box on a GUI application... Based on which options they select I have to look up the...
2
5725
by: Mark Roughton | last post by:
I have a form where the users need to view records for various criteria, one of which is a date field on which they may wish to view all related data for the selected date, for all dates upto and...
2
1651
Ericks
by: Ericks | last post by:
Why is it that a table's Memo field in a Query behaves like a Text field, showing only the first 255 characters when using the Totals option. When turning off the Totals options all text is shown. I...
2
3501
by: dbdb | last post by:
Hai, need a help please. i have a form to view the query subform 1. form name : form1 2. query subform name : subform1 3. textbox name : txtclass1 4. command button name : cmd1 i want to...
15
2753
by: AnnK | last post by:
Hi all, Access is being quite stubborn with me! I have set up a MakeTable query from a linked Excel spreadsheet. One of the columns of the spreadsheet is formatted as text because it has a...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7416
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...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5062
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3207
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1571
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.