Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Going crazy on Null returns

Status
Not open for further replies.

ShouldBeFishen

Instructor
Feb 7, 2005
5
AU
I have a query with a list of names called Resources

It contains 5 resource types
Plumber
Electrician
Painter
Carpenter
Tiler
I have another table with job names [Assignments] and assigned resource types with work hours IE:
Cut timber Carpenter 4 hours First floor
Fix pipes Plumber 2 hours Patio
Etc etc……
I have created a query that lists the resource type that is chosen [Select resource type] and shows all there jobs and hours. No probs!

If I choose a resource name that does not exist in the [assignments] query then I get a blank result.
I have tried the NZ function but I must be doing it wrong or I am on the wrong track.

What I would like to to see is a row of records like
Resource Hours Job Area
- - - First floor

I hope my explanation is clear enough not to bug people.
Your help would be appreciated

Cheers


John
 
Thanks for that.
It just dawned on me I was calling the resource name from the wrong table and the outer left join was not showing any difference.
It helps when you call the field from the correct table
Thanks
JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top