Solved

MS Access Query Criteria Text Box

Posted on 2008-10-23
3
1,928 Views
Last Modified: 2013-11-28
Hi Experts

I am using a query in ms access. The query takes its criteria from a text box on a form using
Criteria:
[Forms]![frmMainMenuUser]![txtViewCallsQrySource]

However, even though I am sure there are values in the table that match the criteria,
the query is returning no results. Has anyone experienced this problem before, or know
how to fix it? Thanks in advance.
0
Comment
Question by:paganji
3 Comments
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 100 total points
Comment Utility
I think you can be sure the query is working correctly.
Almost certainly you have a data issue.
Are you using matching against a lookup field by any chance?
0
 
LVL 46

Accepted Solution

by:
tbsgadi earned 200 total points
Comment Utility
Hi paganji,

It might be a formatting issue.
What do you enter in the text box?

Gary
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 200 total points
Comment Utility
paganji,

Also,
Make sure that this criteria is on the correct field.

JeffCoachman
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now