A parameter query changes your ordinary static access query to be more dynamic and interactive.
It will ask you a question about what you want to search for, allowing you to do a search query multiple times instead of just once.
You can do your parameter query straight from the QBE (Query By Example) Editor, of better yet from a form. When you use a form your parameter query will look more professional and allow you to further your customizations.
If you want to use a different parameter just press the Shift + F9 keys on your keyboard to change the input and the results.
We are going to learn 2 ways of doing this:
a. Parameters From QBE (Query By Example) Grid
b. Parameters From Form
How To Escape Apostrophe In SQL Update Query
If you are looping a table with thousands of records, you’ll probably run into at least one that has an apostrophe in the field name. Like “Mike’s” or “M’cormick”, or something else. Anyway, here is one way to escape the string when you are doing your update query. Option Compare Database Sub YDriveLoop() ‘4/23/24 erik@loeblcomservices.com […]
How To Parse A Flat File In Excel VBA
In another post I demonstrated how to access a file on your computer using the MS Office Library. Here it is if you don’t know what I’m talking about. In this post, I am going to show you how to access the file and load it into your spreadsheet. I will do the same thing […]
How can I interact with other Office applications (Excel) using VBA in Access?
Need to write your Access data or query to an Excel file? Here is the how to do it: Most people are familiar with Excel and know how to use it well (enough), and when you start talking about Access, they get scared off, and don’t know what to do anymore. Well, here you are […]
What Is Microsoft Access Used For?
To those of you who are asking the question of “What is microsoft access used for?” , here is my opinion. I’ve been using this program for well over 15 years, and it’s become fairly easy to deal with. Many people feel that it is hard to work with, but that’s not my experience anymore […]