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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal not returning records Left Outer Join

Status
Not open for further replies.

jcfowl

Programmer
Feb 15, 2002
29
US
My SQL statement returns the correct number of records in the SQL Query Analyzer, but Crystal only returns one record.

Crystal Record Selection Formula:

{TblMaster_Schedule.DayOfWeek} = {?DayOfWeek}
And
({TblSpotChanges.DateEffected} = DateValue("8/1/2004") Or IsNull({TblSpotChanges.DateEffected}))

It seems that the records are not returned where the database value for {TblSpotChanges.DateEffected} is NULL.
Any suggestions are appreciated.
 
hi verse your condition
do the is null first

cheers

pg
ex:
({IsNull({TblSpotChanges.DateEffected}or TblSpotChanges.DateEffected} = DateValue("8/1/2004")))and
{TblMaster_Schedule.DayOfWeek} = {?DayOfWeek}


pgtek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top