You can use your favorite social network to register or link an existing account:
Or use your email address to register without a social network:
Sign in with these social networks:
Or enter your username and password
Forgot your password?
Yes, please link my existing account with for quick, secure access.
No, I would like to create a new account with my profile information.
Tips
How-to
News
Videos
Stories
(This post was first published in August 2011 and is the first in a series of posts about using query criteria, which includes Query Criteria Part 2: Like what? and Query Criteria Part 3: prompting for input by using a parameter.)
Queries are a fundamental part of developing and using any database. In addition to providing a way to make bulk changes to your data, they are how you ask questions about that data. Query criteria help you make your question more specific - so instead of asking "What are my contacts' birthdays?" you could ask "Whose birthdays are coming up next month?"
Let's look at these questions in Access. The first question is a very simple query of a single table (Contacts). It just asks Access to select the name and date of birth of everyone in the table:
When I run it, I get the full list:
Very basic stuff. In this particular example, I don't have a huge list to look at, but imagine if I had hundreds of contacts. I probably wouldn't be interested in looking up all their birthdays very often. Now let's see how I could use a criterion to ask the more useful question: whose birthdays are this month?
Here's the query design again, only this time I've added an expression in the Criteria row of the DOB field:
Now when I run the query, I just see folks whose birthdays are this month:
You can read more about how query criteria work and get a comprehensive set of of examples in the article Examples of query criteria. If you liked this example but want to see something a bit more involved, check out this YouTube video about showing only those contacts whose birthday is today.
Next up in the series: using LIKE and wildcards in query criteria.
--Steven Thomas
Comments: (16) Collapse
Hi Steven,
Thanks for your reply. I had thought about the server hardware not being suitable for running the queries fast enough, and had pursued this with the technical team.
To ensure that I was on the right track with this, I got a trial subscription from accesshosting today, my demo site for the Issues app is at faisalmajeed.accesshoster.com/Issues
I dont know how to grant you access on this, and all the app has is lorem ipsum kind of stuff, with a keyword pregnancy in 4 records. Again the app performs fine when run on local machine, but fails to give any results even on the accesshosting.com site.
I can pass the app to you, I dont know where to upload it for you. Its the issues template with the only difference of having 2000 records in the issues table filled with lorem ipsum.
This is strange that there is a similar performance issue between our Internal sharepoint Access web service and an externally hosted by AccessHosting.com which is even hosted on the cloud for better performance.
We kept on blaming ourselves and our technical team so we didn't test this in a real world environment but now that I did, I am surprised at the results. I will keep visiting the blog, to keep the conversation going if you need my email address or phone let me know or vice versa. I really appreciate your feedback on this.
Comments: (loading) Collapse