Solved

MS Access Query Criteria Text Box

Posted on 2008-10-23
3
1,932 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
ID: 22784846
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
ID: 22785347
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
ID: 22801658
paganji,

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

JeffCoachman
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

813 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

18 Experts available now in Live!

Get 1:1 Help Now