I'm working with Crystal Report 9, and here is what I have in the Record Selection Formular window:
{contact_calls.solicitor} = {?Select_Solicitor} and
{contact_calls.drive_code} = {?Select_Drive} and
{contact_calls.regarding} = {?Select_Regarding} and
({contact_calls.planned_call_date} >= {?Cur_Date} or
isnull({contact_calls.planned_call_date}))
As you can see, I'm trying to pull records that fit the first three criteria. However, for the fourth criteria, I want all records that fit within a certain date range AND those record that fit the first three criteria but have nothing entered in the "planned_call_date" field. Basically, if it fits the first three criteria, and the "planned_call_date" is null, I want to see it.
The above formular is returning no errors, however, when I run the report, it's not pulling those records that have no date entered in "planned_call_date" field. And I know there are some in the database.
Am I going about this all wrong, or is something wrong with my formular? Please help.
Thanks,
ibe
{contact_calls.solicitor} = {?Select_Solicitor} and
{contact_calls.drive_code} = {?Select_Drive} and
{contact_calls.regarding} = {?Select_Regarding} and
({contact_calls.planned_call_date} >= {?Cur_Date} or
isnull({contact_calls.planned_call_date}))
As you can see, I'm trying to pull records that fit the first three criteria. However, for the fourth criteria, I want all records that fit within a certain date range AND those record that fit the first three criteria but have nothing entered in the "planned_call_date" field. Basically, if it fits the first three criteria, and the "planned_call_date" is null, I want to see it.
The above formular is returning no errors, however, when I run the report, it's not pulling those records that have no date entered in "planned_call_date" field. And I know there are some in the database.
Am I going about this all wrong, or is something wrong with my formular? Please help.
Thanks,
ibe