Query Assistance

access2010

Registered User.
Local time
Yesterday, 16:24
Joined
Dec 26, 2009
Messages
1,115
I normally do not have problems with Queries, buy this one does not work
1596559442163.png

Could you please tell me why it does not want to show us the records that are marked with "Watch"?

Thank you,
Nicole
 
Hi. Just a guess but try adding another Is Not Null below the first one in the first column.
 
What's the SQL of the query? What you've shown should work.
 
Are you using table lookups?
 
Show us the table structure and the SQL of the query. I'm with Gasman on this - we cannot be looking at the right thing to answer your question because that query design grid looks strictly legit.
 
Could you please tell me why it does not want to show us the records that are marked with "Watch"?

1. There are no records in Investments01_tbl that have [PortfolioCode]='Watch".
1A. - You didn't use the right criteria--perhaps it should be "Watched" or "Wach"
1B. - You didn't apply the criteria to the right field. Maybe its not [PortfolioCode] where "Watch" is at.

2. There's other criteria you haven't shown us. Perhaps you have criteria on a field from another table in the query but don't think it was relevant to show.

3. You have another table in the query JOINed to Investments01_tbl that is acting as criteria. When you JOIN tables, the fields you JOIN them on act as filters--only records with matches in both table come through to the query results.
 
which tbh is nonsense, with or without the "is not null" in the first column doesnt make a difference in showing the "Watch" records.... something else has become different to make it work for you.
 
I was confused by that as well. :D
 
<raises hand with 4 fingers extended>
 

Users who are viewing this thread

Back
Top Bottom