I am composing a report in Crystal Reports 9. The report's purpose is to create a list of projects and their corresponding due dates. However, there are two main types of projects, and depending on the type of project, the due dates will be found in one of two tables. If I run reports for the project types separately, going to the respective due date tables, the reports return data. If I attempt to put both project types in the same report, I get no results. I am thinking that an if-then statement will allow the report to work correctly. I created the one shown below
If {ad_info.media_cd} = "ROP" Then
{vrsn_prdctn_schdl.job_step_due_dt}
Else
If {ad_info.media_cd} <> "ROP" Then
{ad_prdctn_schdl.job_step_due_dt}
What I am not well versed on is implementing this type of statement. If I create a formula in the Formula Workshop, how do I implement it into the report?
Thanks in advance for any ideas on this.
If {ad_info.media_cd} = "ROP" Then
{vrsn_prdctn_schdl.job_step_due_dt}
Else
If {ad_info.media_cd} <> "ROP" Then
{ad_prdctn_schdl.job_step_due_dt}
What I am not well versed on is implementing this type of statement. If I create a formula in the Formula Workshop, how do I implement it into the report?
Thanks in advance for any ideas on this.