I'm using two database tables (Job Detail (History) and Job History. I did a manual link using JobNo and Job Number from each database. Below is the code I am using:
{Job Detail (History).Operation} = 301.00 and
{Job History.Close Date} in date(2002, 02, 01) to date(2002, 02, 28) and
{Job History.Ship Via} = "P" and
{@CustomerNo} >= 1.00 and
{Job Detail (History).Cost Center} = 13.00
The very last record is Job Number 138045. This should not
be included in the report. This job number is in the database 3 times, for
years 2000, 2001, & 2002. Year 2002 does not contain the Operation 301, as
I specified in the formula, but 2001 does, as well as year 2000.
I don't understand why Crystal is returning this record or how to eliminate it. The End Date should be within the same period as the Close Date. I have tried specifying that the End Date be in period Year to Date, but this does not work either.
The correct records that should be returned is 51. I must use the Close Date to get the correct number of jobs closed within Feb02. Running the report on the End Date alone distorts.
Any thoughts?
{Job Detail (History).Operation} = 301.00 and
{Job History.Close Date} in date(2002, 02, 01) to date(2002, 02, 28) and
{Job History.Ship Via} = "P" and
{@CustomerNo} >= 1.00 and
{Job Detail (History).Cost Center} = 13.00
The very last record is Job Number 138045. This should not
be included in the report. This job number is in the database 3 times, for
years 2000, 2001, & 2002. Year 2002 does not contain the Operation 301, as
I specified in the formula, but 2001 does, as well as year 2000.
I don't understand why Crystal is returning this record or how to eliminate it. The End Date should be within the same period as the Close Date. I have tried specifying that the End Date be in period Year to Date, but this does not work either.
The correct records that should be returned is 51. I must use the Close Date to get the correct number of jobs closed within Feb02. Running the report on the End Date alone distorts.
Any thoughts?