English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can someone please tell me how to create a search function/feature within an Access databse.

I would like to be able to type in a value and have it search a table for that value.

A code or expression would be very helpful. Thank you!

2007-01-20 13:34:51 · 4 answers · asked by Tiff 5 in Computers & Internet Programming & Design

4 answers

1. Create a query in Design View

2. Close out the popup for tables and whatnot and switch to SQL view.

3. Enter the following in the text box:

SELECT *
FROM tablename
WHERE column1 LIKE '%[What do you want to find?]%' OR column2 LIKE '%[What do you want to find?]%' OR column3 LIKE '%[What do you want to find?]%'

in the text above, tablename is the name of your table, column1 is a column you want to search, column2 is a column you want to search, etc. Simply add or remove

OR column LIKE '%[What do you want to find?]%'

for as many columns as you want the one search term to find.

4. Save the query.

5. Execute the query to test it. You should be promted with a dialog box asking, "What do you want to find?"; just enter your search text.

As previously noted, Access also has a handy built-in search function that allows you a number of options for finding things.

2007-01-20 15:34:56 · answer #1 · answered by Anonymous · 0 0

One of the best features of Access is the built in query and find tools located on the toolbar. Have a table open and just hit the binocular button and have at it!

2007-01-20 13:46:45 · answer #2 · answered by Anonymous · 0 0

create a query based on the table, and in the field you want to search, put the following in the CRITERIA cell:

[Enter criteria here] - in square brackets, and it will prompt the user for the criteria.

2007-01-20 13:41:15 · answer #3 · answered by Richard H 7 · 2 0

get right of entry to and Excel are very diverse from be conscious and Powerpoint. you is truthfully no longer waiting to faux understanding the thank you to apply them. If the interest demands somebody who's as much as velocity at the instant, you won't be qualified. that's a solid concern to understand in the previous you get employed and lose credibility (and maximum in all risk your interest) interior of an extremely short quantity of time. although, you may actual enable them to understand your contemporary MS workplace adventure and your skill in be conscious and Powerpoint. Then state which you're keen to examine the different 2 as rapidly as obtainable. some employers (like regular automobiles) furnish MS workplace suites for as low as $10 for his or her workers use AT dwelling house. it is so as that they are able to prepare applying it and save up with what's used on the interest. (it is MS way of transforming into particular that everybody else keeps paying in the process the nostril something of the time.) besides, the corporate you're observing is additionally keen to hire you to your different skills in case you're keen to take instructions and are a rapid learner. you may seem on line and detect a path obtainable that starts quickly (or at the instant) and is as finished as obtainable in as short a time as obtainable. (greater on that decrease than.) Then be arranged by using rehearsing something to assert while this comes up interior the interview. for occasion, state actually (and succinctly) which you're actually not acquainted with get right of entry to and Excel, yet you're a rapid learner, are have checked into and are keen to take a path (call it specifically) to convey you as much as velocity as rapidly as obtainable. State which you have confidence your different skills might make this on an identical time helpful employment and which you got here to the interview hoping to have the possibility to coach that. i've got secure a link for Microsoft workplace's very own loose on line self-education website. you additionally can choose to look up paid amenities in the previous the following day, so which you would be able to confer with those if asked. keep in mind that in the event that they outright state which you're actually not qualified for that place, possible ask in the event that they have yet another place that could greater helpful tournament your skills, and to maintain you in thoughts interior the destiny. Even a referral to a diverse enterprise or a guideline on a job greater helpful suitable is a effective commodity at the instant. and that i do wish you will get the interest.

2016-12-12 16:24:49 · answer #4 · answered by ? 4 · 0 0

fedest.com, questions and answers