elsenorjose
Technical User
I have a report that has 6 levels of grouping:
Project Type
Project Status
Project End Date
Lot #
Project Name
Task Name
The record fields are in the Project Name group footer - GF5
Is it possible to combine the data from 2 different tasks onto 1 row? We have a conditional date formula that retrieves a date from 1 table if it exists or from another if it does not:
Sample Arrival Date
and
Sample Approval Date
The problem is that only the data for the 'sample' task is being retrieved even when I have both a sample and qc task. I believe this is due to the fact that I have the data in a group footer and the last task type is retrieved, i.e.; 'sample'. Is there anything I can do so I get both dates to display? Basically, I need every record to have a date for sample arrival and approval depending on the task and whether we have a date from the LOT or LOT_SAMPLING_POINT tables. The users do not want to see multiple rows per project which is why we have the data grouped and not in the details section.
I'm using CRXI on Windows XP on a SQL Server 2005 backend.
Project Type
Project Status
Project End Date
Lot #
Project Name
Task Name
The record fields are in the Project Name group footer - GF5
Is it possible to combine the data from 2 different tasks onto 1 row? We have a conditional date formula that retrieves a date from 1 table if it exists or from another if it does not:
Sample Arrival Date
Code:
If ({usrSampleTardy.TaskName} Like '*sample*' and IsNull({LOT.DATE_CREATED}))
Then {usrSampleTardy.TaskScheduledEndDateTimeUTC}
Else {LOT.DATE_CREATED}
and
Sample Approval Date
Code:
If ({usrSampleTardy.TaskName} Like '*qc*' and IsNull({LOT_SAMPLING_POINT.DISPOSITION_DATE}))
Then {usrSampleTardy.TaskScheduledEndDateTimeUTC}
Else {LOT_SAMPLING_POINT.DISPOSITION_DATE}
The problem is that only the data for the 'sample' task is being retrieved even when I have both a sample and qc task. I believe this is due to the fact that I have the data in a group footer and the last task type is retrieved, i.e.; 'sample'. Is there anything I can do so I get both dates to display? Basically, I need every record to have a date for sample arrival and approval depending on the task and whether we have a date from the LOT or LOT_SAMPLING_POINT tables. The users do not want to see multiple rows per project which is why we have the data grouped and not in the details section.
I'm using CRXI on Windows XP on a SQL Server 2005 backend.