Crystal version 8.5
Using the following select statement we want to retrieve data from one table which is support incident which is joined to customer and in house site tables by left outer joins. We know that we should have 976 records in total. If we run the report with criteria as below we retrieve 966.
{Customer.Site Code}="995" or
{In_House_Site.Site Code} = "995"
If we switch it to:
{In_House_Site.Site Code} = "995" or
{Customer.Site Code}="995"
we retrieve 132 records of which 122 are in the first criteria version. However, the bizarre thing is that we have an identical report that suffers none of these problems and retrieves the full 976 records we require !!
Using the following select statement we want to retrieve data from one table which is support incident which is joined to customer and in house site tables by left outer joins. We know that we should have 976 records in total. If we run the report with criteria as below we retrieve 966.
{Customer.Site Code}="995" or
{In_House_Site.Site Code} = "995"
If we switch it to:
{In_House_Site.Site Code} = "995" or
{Customer.Site Code}="995"
we retrieve 132 records of which 122 are in the first criteria version. However, the bizarre thing is that we have an identical report that suffers none of these problems and retrieves the full 976 records we require !!