Microsoft Access Multi-Field Search Form

  Рет қаралды 623,463

Computer Learning Zone

Computer Learning Zone

Күн бұрын

NEW!!! See the updated version 2.0 video: 599cd.com/SearchForm2
Learn how to build a multi-field search form for your Microsoft Access database. We will start with a simple table containing customers. We will then build an unbound form with text boxes on it to allow the user to enter in search criteria. For example, you can see customers with a last name of "smith" who are from "buffalo". Finally, we will build a query using Forms!FormName!FieldName notation to read in the search criteria. We will use the LIKE keyword with wildcard characters so that any search fields left blank are ignored.
For more information on this topic, visit 599cd.com/LMZZ
Get on my Mailing List: 599cd.com/YTML

Пікірлер: 550
@guyosborn615
@guyosborn615 2 жыл бұрын
Thank you! I haven't tried it yet BUT having trawled through the Internet again and again looking for form access multiple fields and only finding complicated solutions, I added the search criteria "simple" OR "easy" and yours was the first result. Bingo! Thank you again from England.
@599CD
@599CD 2 жыл бұрын
Hope it works for you.
@pyrokinetic666
@pyrokinetic666 8 жыл бұрын
I used this video along with a database I made to figure out which SIM cards go into what smartphones based on Manufacturer/Model. I was wrecking my head all day trying to find a way to do this and this video was PERFECT. Thank you so much!!
@599CD
@599CD 2 жыл бұрын
Welcome
@599CD
@599CD 11 жыл бұрын
You're absolutely right. Again, thanks for taking the time to share your valuable input. I try to impress the "this is a quick tip, see my full tutorial for lots more information" message in these short tutorials, but you're definitely right that this technique is only for the simplest of uses. On a side note, I just want to say that I love your books. Your Access 2010 Inside Out and Building Access Applications books are two of my favorite Access books - and I have a LOT. :)
@DavidDavidov1702
@DavidDavidov1702 5 жыл бұрын
I watch this video in 2019 and express my deep gratitude. You really helped me. With love from Armenia!
@599CD
@599CD 3 жыл бұрын
My pleasure... from Florida in 2021. :)
@sandrahebner8561
@sandrahebner8561 11 жыл бұрын
Thank you! Self taught in everything I use at work but many years in the past. Hadn't built a DB our a query in about 4 years and this was the best refresher I could have used.
@599CD
@599CD 11 жыл бұрын
Love them. In fact, Inside Out is one of the books I routinely recommend to my customers who ask for a great reference book to keep on the shelf for Access developers.
@MargieDuerr
@MargieDuerr 9 жыл бұрын
This is such a great tutorial! Every single one of your tutorials are absolutely FANTASTIC!
@cruzinsweetsntreats
@cruzinsweetsntreats 2 жыл бұрын
And still are, with it now being Saturday, September 18, 2021. 👍😎
@599CD
@599CD 2 жыл бұрын
Thank you, from 2025. Oh wait... I set the DeLorean for the wrong coordinates again... hang on...
@TCSura
@TCSura 8 жыл бұрын
Excellent tutorial, in 5 minutes i had the Search Form/Query running...thanks a lot
@599CD
@599CD 2 жыл бұрын
Welcome
@Renderceg
@Renderceg 11 жыл бұрын
What can I say Mate. You're the best!!! I'm wrapped to get your response and attempt to assist me. I did actually follow your lesson from my PC with my laptop doing the work... However, I will try building your data base and see if I can work it out from there. Again, THANKS!!! Your lessons are truly inspiring and assist people who would not otherwise have the support to get their head around Access. Cheers.
@johndavy3820
@johndavy3820 6 жыл бұрын
Your videos are always top notch! I love to watch them for I learn new techniques every time. keep it up. Thanks John
@599CD
@599CD 3 жыл бұрын
You're welcome. 3 years later. :)
@599CD
@599CD 11 жыл бұрын
You are correct, John. Thanks for sharing. Obviously if you have much larger sets of data, you need to adjust your approach. This is only a brief tutorial for "novice to intermediate" users. In my full seminar I go over more advanced techniques, such as writing custom SQL statements in VBA to get exactly what you want.
@edabano77
@edabano77 5 жыл бұрын
Thank you so much for these Tutorial. It solved what I was looking for.
@599CD
@599CD 3 жыл бұрын
My pleasure.
@lindsayalden9900
@lindsayalden9900 9 жыл бұрын
Awesome video, very straight forward and no need for macro. Thank you so much :)
@599CD
@599CD 2 жыл бұрын
YW
@599CD
@599CD 11 жыл бұрын
You are correct. Looking for blank values gets a LOT more complicated. I'm addressing this issue in my upcoming Access Search Seminar which should be out later this week. You basically have to use IIF and IsNull functions to handle this.
@TexanInParis06
@TexanInParis06 11 жыл бұрын
Very happy to hear you like my books!
@GAVVVR
@GAVVVR 11 жыл бұрын
Thanks. That's the tutorial i was searching for. Well and quickly explained
@danielzamarron6993
@danielzamarron6993 2 жыл бұрын
Very specific, complete, well explained and useful video, thank you so much!
@599CD
@599CD 2 жыл бұрын
You're very welcome!
@brianlee6639
@brianlee6639 9 жыл бұрын
That bit starting at 5:45 helped me a lot. Coming from T-SQL and MySQL, Access is a bit fuzzy with operators.
@599CD
@599CD 2 жыл бұрын
It can be confusing if you're used to multiple versions of SQL. It got me too at first.
@whoyathought400
@whoyathought400 11 жыл бұрын
It finally worked! I failed so many times last night! So glad it finally worked lol! Thanks a lot!
@britesynth
@britesynth 11 жыл бұрын
Subbbed! thanks for this tutorial sir, i changed the query command to REQUERY so that the query table is updated on the same form =) just what i needed, thanks again!
@javadrajabi9639
@javadrajabi9639 11 жыл бұрын
I learn more than about your teach-thanks a lot
@yamahajt
@yamahajt 12 жыл бұрын
I wish you were an instructor at my college, you made this so easy
@007theleo
@007theleo 10 жыл бұрын
thank you very much!!! amazing simple and nicely described!!!
@deezlittlethingz
@deezlittlethingz 9 жыл бұрын
AMAZING!!! Thank you so much for sharing! This will make my job so much easier :D
@599CD
@599CD 2 жыл бұрын
My pleasure
@MrMayes69
@MrMayes69 8 жыл бұрын
THANK YOU!! You are a life-saver!!
@599CD
@599CD 2 жыл бұрын
WElcome
@599CD
@599CD 11 жыл бұрын
You're very welcome. Let me know how it goes.
@minerdalta
@minerdalta 10 жыл бұрын
Thanks, you saved my college life :D
@nebbie03
@nebbie03 12 жыл бұрын
thank you for making it sooo simple!
@599CD
@599CD 12 жыл бұрын
If the table structure is identical (or at least close enough) you could UNION them together and just search one resulting query. There are other, more advanced methods you can use that involve some SQL and VBA. I'll be covering these in my upcoming Access Searching & Sorting Seminar which should be available next week on my web site.
@harperassociates
@harperassociates 12 жыл бұрын
I did figure out a solution, but not in query form. My solution was to add a default value to each searchable field on the form I use to input information. Each searchable field is a simple text box. In design view, I opened the property sheet, and clicked on the text box. In the Data tab, there is an option for a default value. I use "-" as my default value, so that when I don't have information for a particular field, there is at least something to show the field is not null. Works great!
@argiris2011
@argiris2011 9 жыл бұрын
Just perfect!!!!! God Bless you friend!!!!
@599CD
@599CD Жыл бұрын
Thanks
@gisontherun
@gisontherun 10 жыл бұрын
Thanks man, helped me a lot!
@jbbauer0
@jbbauer0 10 жыл бұрын
Thank you. Useful for what im working on.
@masterblasterrs
@masterblasterrs 12 жыл бұрын
great tut, Helped me out!
@iseenochains-oops7863
@iseenochains-oops7863 6 жыл бұрын
Very nice presentation style - not too wordy or detailed and not too quick. thanks
@599CD
@599CD 3 жыл бұрын
You're welcome.
@lisacalhoun306
@lisacalhoun306 5 жыл бұрын
Fantastic tutorial! Thanks!!
@599CD
@599CD 3 жыл бұрын
My pleasure.
@styloroc2000
@styloroc2000 11 жыл бұрын
Great tutorial; I'm having difficulty implementing a multi-field search form using several tables with many-to-many relationships and lookups. For instance, I have one table listing foreign students, a second table listing domestic students, and a third table with classes, as well as junction tables between the class table and the two student tables. The objective of the query/form is to determine which classes two students (one foreign, one domestic) share.
@tommyleemac
@tommyleemac 6 жыл бұрын
Exactly what i needed thanks!!!
@599CD
@599CD 3 жыл бұрын
You're welcome.
@599CD
@599CD 11 жыл бұрын
Sure. Just feed to search results into a blank form with a list box, then have an On Double Click event for that list box to open up the record in your form. I cover this in detail in my forthcoming Access Search Seminar (which should be out this weekend).
@form4b
@form4b 10 жыл бұрын
Thanks alot! it really works when i redo everything.
@599CD
@599CD 10 жыл бұрын
Yes, you could certainly make a query to group data like this.
@mobilexcellence
@mobilexcellence 9 жыл бұрын
Very helpful, thank you.
@599CD
@599CD Жыл бұрын
welcome
@ncking58
@ncking58 11 жыл бұрын
I want to create a search form that also includes searching between two dates. Also after following this video, my name search does not filter, but selects all names. Love your tutorials.
@vendag865
@vendag865 8 жыл бұрын
Brilliant sir! Thank you very much!
@599CD
@599CD 2 жыл бұрын
Welcome
@aedegroot94
@aedegroot94 9 жыл бұрын
thank you so much. I'm a student and I have to build an application and one of the pages of this application will be a multi-field search form - I knew how to program it but the way I knew it was not really suitable for more than 2 fields (check if both are empty; then check if both are filled in; then check if one of them is filled in) so this is really handy. I'm using a newer version of access but I'm sure this will still be usable. thanks!
@599CD
@599CD Жыл бұрын
Welcome
@xm_tech
@xm_tech 9 жыл бұрын
Very Helpful, many thanks.
@599CD
@599CD 2 жыл бұрын
Welcome
@BOWENBRIGSD101
@BOWENBRIGSD101 11 жыл бұрын
great video very clear and helpful thank you
@mikeattwood2788
@mikeattwood2788 6 жыл бұрын
Great guide. Thank you
@599CD
@599CD 3 жыл бұрын
You're welcome
@gerfer6261
@gerfer6261 10 жыл бұрын
Thanks- Handy, Helpful & Happy
@599CD
@599CD 11 жыл бұрын
You can use the IsNull function or Is Null in a query criteria to find those blank records and enter the data.
@nandanatennakoon6976
@nandanatennakoon6976 6 жыл бұрын
This video was really helpful me. thank's too mutch for you..!
@599CD
@599CD 3 жыл бұрын
You're welcome.
@RossR692
@RossR692 10 жыл бұрын
this was great thanks!!
@599CD
@599CD Жыл бұрын
Welcome
@599CD
@599CD 11 жыл бұрын
Sure. You could display the results in a list box or subform.
@civicchic79
@civicchic79 10 жыл бұрын
This is a GREAT way to create a search form versus using drop down boxes or DLOOKUP!!!! Thanks!!!
@vonejon5643
@vonejon5643 2 жыл бұрын
I really appreciate your hard work
@599CD
@599CD 2 жыл бұрын
Thanks
@novilasyanto7793
@novilasyanto7793 11 жыл бұрын
This tutorial is good, and easier to understand
@yustikarani1500
@yustikarani1500 3 жыл бұрын
Great lesson. You help me so much
@599CD
@599CD 3 жыл бұрын
My pleasure
@DeeBooTV
@DeeBooTV 4 жыл бұрын
THANK YOU SO MUCH SIR. ITS VERY HELPFUL
@599CD
@599CD 3 жыл бұрын
My pleasure.
@homsi2468
@homsi2468 10 жыл бұрын
Thank you . this was very useful
@599CD
@599CD 12 жыл бұрын
This can be tricky with multiple fields. Sometimes even wildcard searches don't work with NULL values. I'll be covering this in depth in my upcoming Access Searching & Sorting Seminar... and I'll try to post a tip video about this on my Channel.
@MrNotubo
@MrNotubo 12 жыл бұрын
Wow tnx for the tutoriaL!!!
@LoveliBrowne
@LoveliBrowne 12 жыл бұрын
This video is the best video ever written for Access. I followed the instructions step-by-step however I am still having an issue with my query. When I search, no results are given. I know I have something out of place...I just don't know what. How can I troubleshoot and fix?
@kelevra1493
@kelevra1493 11 жыл бұрын
Thanks, this video realy help me!
@piratesmvp
@piratesmvp 11 жыл бұрын
Thanks this helped a lot
@moodkn
@moodkn 5 жыл бұрын
Oh Thanks! Very helpful
@599CD
@599CD 3 жыл бұрын
My pleasure.
@lfscat
@lfscat 10 жыл бұрын
THANK YOU THANK YOU THANK YOU!!!
@599CD
@599CD 11 жыл бұрын
Turn your control wizards on (option in the controls toolbox)
@599CD
@599CD 11 жыл бұрын
Just base a form on the results query. I cover this in my full seminar.
@obsessivelyShayz
@obsessivelyShayz 10 жыл бұрын
thanks! This was heaps helpful (:
@NS2Las
@NS2Las 8 жыл бұрын
wow! thank you! who knew .. thanks for sharing...
@599CD
@599CD 2 жыл бұрын
Welcome
@599CD
@599CD 11 жыл бұрын
I cover creating a much more complex search form using dynamic SQL in my full Search Seminar.
@donalddouglas
@donalddouglas 3 жыл бұрын
Good stuff - thanks!
@599CD
@599CD 3 жыл бұрын
You're welcome!
@sumitpathania5188
@sumitpathania5188 11 жыл бұрын
TY, great job
@raynealeka3950
@raynealeka3950 10 жыл бұрын
Invaluable Video!
@599CD
@599CD Жыл бұрын
thanks
@venkatyalamati3285
@venkatyalamati3285 2 жыл бұрын
Amazing tutorial sir... Thank you
@599CD
@599CD 2 жыл бұрын
Welcome!
@599CD
@599CD 11 жыл бұрын
varchar? Is your backend table stored on SQL Server? In Access you would just use a Yes/No field.
@chelseawilkinson307
@chelseawilkinson307 8 жыл бұрын
You are wonderful!
@599CD
@599CD 2 жыл бұрын
Thanks
@sgtzsquad
@sgtzsquad 8 жыл бұрын
Thanks for a great video
@599CD
@599CD 2 жыл бұрын
You're welcome
@jamesdavebautista1099
@jamesdavebautista1099 8 жыл бұрын
thank you for this. i passed my project
@599CD
@599CD 2 жыл бұрын
My pleasure
@MrTimdery
@MrTimdery 7 жыл бұрын
To have a good command in MS Access, one has to look this tuto. It is wellcome
@599CD
@599CD 2 жыл бұрын
Thanks
@DanielGam89
@DanielGam89 9 жыл бұрын
Thank you Sir!
@599CD
@599CD Жыл бұрын
welcome
@lesliegarrett
@lesliegarrett 12 жыл бұрын
Your Better Than My Dad's Tutorials, And He's Been At This For Years...
@pespes1459
@pespes1459 12 жыл бұрын
Thanks for the video, it has helped me a lot. I'm not getting empty fields to show up in queries though. Like "*" & [Forms]![Job Site Search]![CityF] & "*" That combined with the other 3 fields I'm using should return any search criteria where there are empty fields? Yet all I see when I hit my 'run query' button is all records that are filled in completely. I've watched your video 3 times and been to your website as well. There doesn't appear to be anything else on the web for this either.
@daudacademy24
@daudacademy24 3 жыл бұрын
Very helpful, Thanks a lot....
@599CD
@599CD 3 жыл бұрын
Most welcome!
@josencreative2242
@josencreative2242 4 жыл бұрын
Love it! Thank you. Just one question, how would you be able to create a query that can search through different tables all at the same time? I was trying to figure it out but wasn't able to. Hope you can help! Thanks!
@599CD
@599CD 3 жыл бұрын
That all depends. Are those tables related? If so, join them together. If not, you might be able to Union them together. 599cd.com/Relationships 599cd.com/Union
@599CD
@599CD 11 жыл бұрын
It could be several things. I'd need to see your database to tell you for sure.
@habetful
@habetful 13 жыл бұрын
THANKS!
@mrmuj4039
@mrmuj4039 3 жыл бұрын
Thank you!
@599CD
@599CD 3 жыл бұрын
You're welcome!
@Larwai
@Larwai 3 жыл бұрын
Hello: Thank you much helpful.
@599CD
@599CD 3 жыл бұрын
You're welcome!
@MrDangles66
@MrDangles66 9 жыл бұрын
Exactly what i was looking for, Thank you so much for the guidance, However I ran into a problem, when I make a navigation form and insert mine into it i get a error parameter.
@599CD
@599CD Жыл бұрын
599cd.com/EPV
@SprikSprak
@SprikSprak 12 жыл бұрын
This is brilliant I do have a question however. When using this to search through a table with lookup fields it doesn't seem to recognise them, only works with pure text entries. Anyway I can modify this to recognise the drop down list choices as well as search criteria? Thanks for a great tutorial!
@musarratzaidi685
@musarratzaidi685 6 жыл бұрын
Good help, impressed
@599CD
@599CD 3 жыл бұрын
My pleasure
@599CD
@599CD 11 жыл бұрын
All you have to do is build the query and then use that query as the record source for the report or form.
@599CD
@599CD 11 жыл бұрын
I would have to see your database to tell you what you're doing wrong, however try building the exact database that I've built in the video - starting from scratch. Follow my steps EXACTLY. This might help you to figure out what's different in your database.
@jossurbab
@jossurbab 5 жыл бұрын
Thank You So much. I am an ameture. I got the hang of Access.
@599CD
@599CD 3 жыл бұрын
My pleasure.
@599CD
@599CD 11 жыл бұрын
It's impossible for me to tell you what you've got wrong without seeing your database. Try starting again from the beginning, and build the database EXACTLY as I build it in the video.
@Rocky-rk4df
@Rocky-rk4df 3 жыл бұрын
Perfect. Thanks.
@599CD
@599CD 3 жыл бұрын
You're welcome!
@MulticamAustralia
@MulticamAustralia 9 жыл бұрын
This is a clear and easy to follow tutorial. Question. If one of the fields I want to search on is a date field (DD/MM/YYY), and I want to have on this form where you enter the year of the date only (YYY). How do I code that? I just want the user to type in the 4 digit year.
@599CD
@599CD 2 жыл бұрын
Use the Year function and create a separate calculated field. 599cd.com/Calculated
@599CD
@599CD 11 жыл бұрын
Well, I wouldn't put foreign and domestic students in two separate tables. I try to keep LIKE DATA together in the same table. If you want, use a checkbox (or a country field) to determine if they're domestic or not.
@user-hl2um8vh3w
@user-hl2um8vh3w 3 жыл бұрын
Thank you very much
@599CD
@599CD 3 жыл бұрын
You are welcome
Microsoft Access Multi-Field Search Form 2.0 New and Improved Features!
50:26
Computer Learning Zone
Рет қаралды 109 М.
A Simple Multi-Field Search Form for Microsoft Access with Zero Programming
17:35
I’m just a kid 🥹🥰 LeoNata family #shorts
00:12
LeoNata Family
Рет қаралды 19 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 15 МЛН
HOW TO DO CALCULATIONS ON A MICROSOFT ACCESS REPORT
6:42
SamuelThaps Online
Рет қаралды 26 М.
How to Make Multiple Relationship Joins to the Same Table in Microsoft Access
22:01
Access 2010: Auto populate fields using a combo box in forms.
11:57
Allen Jarrett
Рет қаралды 555 М.
SEARCH FORM - Searching while Typing in Microsoft Access.
12:46
Edcelle John Gulfan
Рет қаралды 6 М.
Making Automatic Form Resizing Work for You
43:52
Isladogs On Access
Рет қаралды 3,1 М.
Access: Designing a Simple Query
5:02
LearnFree
Рет қаралды 1,2 МЛН
Microsoft Access: Using Queries and Combo Boxes to Filter Reports
9:51
RLFTechSolutions
Рет қаралды 200 М.