473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Trouble with Null values in an Access report.

The report includes a three related tables. The tables are: Jobs, PO (Purchase orders), and CO(Change orders).

Some of the POs have Change orders and some do not. When the Change order value is null. The report does not work properly. I know I need to check for null values, but I do not know where and how I should do this.

My experience is with code is extremely limited and I am having difficulty getting the POs with no Change orders to show up on the report.
Nov 13 '10 #1
1 1497
Stewart Ross
2,545 Expert Mod 2GB
Hi. This is not a code issue. You've really answered the source of the problem when you say that not all purchase orders have change orders. The normal (equal) join between the tables will indeed exclude rows between your joined tables if the CO component of the join is null.

To resolve this, change the join type to Left or Right outer join as appropriate, by selecting the join line between the queries and changing it to include all rows from PO and only those rows from CO which match. You will need to do a similar exercise for the join between PO and Job. The PO table is the one for which you must include all rows in both cases.

-Stewart
Nov 14 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: AAVF | last post by:
Hi We have a problem with a query. An Access database links via ODBC to a UNIX server. To speed things, we use the ODBC to load the relevant tables to the local PC that runs Access so that...
3
by: JOEP | last post by:
What do I need to do to allow an append query to post null values to records in a field of the destination table? Basically I want to allow records with null values to post to the table. The append...
1
by: stewart palmer via AccessMonster.com | last post by:
What is wrong with the following: UPDATE enq SET enq.DUP = Left$(!,3)&Left$(!,3)&Right$(!,3)&Left$(!,2)&left$(!,5); According to ACCESS 97 Help, using & instead of + should overcome the problem...
1
by: meyvn77 | last post by:
I have a project using crash data where I would like a form to promp the user for 1 of the 8 stock report from a pulldown box with options A through E and a 'From' date and 'To' date. The options...
20
by: Max Sandman | last post by:
I'm getting increasingly frustrated with C# and its exceptions on null values. Rather than try to deal with it on a hit-or-miss basis as exceptions pop up, I thought I should try to learn exactly...
0
by: Faraz Ahmed | last post by:
is there a way to do inner join on null values in crystal report designer... in current scenario its not returing any rows if null values found.... as we can do that in query like x inner join...
2
by: teddysnips | last post by:
I have an application that does some data manipulation of some tables to format a table for a report. 1. First I open the table that gives me the parameters for some later queries strSQL =...
10
by: Toby Gallier | last post by:
Hello! I have a form that is calculating averages as follows: " =(NZ()+Nz()+Nz())/3 " However I need to now adjust for null values , so for example if value2 is null I would then need to...
0
by: grmotild | last post by:
Hello. I have trouble to use MS Access report from vb.net in VS2005. I wrote VB.net application(based ms access database) that works perfect on client machine. I have added report in same database...
0
by: nilesh tayde | last post by:
how can i pass parameter to print access report by giving parameter as Report File Name,Query,PrinterName,Number of copies to be print my code is Function fPrintRemoteReport(strMDB As...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.