Solved

MS Access Query Criteria Text Box

Posted on 2008-10-23
3
1,931 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

'Between' is such a common word we rarely think about it but in SQL it has a very specific definition we should be aware of. While most database vendors will have their own unique phrases to describe it (see references at end) the concept in common …
If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

911 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

21 Experts available now in Live!

Get 1:1 Help Now