To all,
We are running CR 7 and Oracle 8.0.5.
There are 3 tables:
1. opc_source_templ
2. opc_monitor_cond
3. opc_logfile_source
Table 1 is linked to table 2 by a field called template_id.
Table 1 is also linked to table 3 by the same field(template_id). There is a field called source_type_id in table 1. Depending on that type, data is stored in different tables. I want to create a formula that will pull template_name from table 1, and depending on the source_type, either threshold from table 2 or logfile from table 3. I tried the following formula, and either one of the lines work by themselves, but not together:
If {New Field Heading.SOURCE_TYPE_ID} = 4.00 then {New Field Heading.LOGFILE}
else if {New Field Heading.SOURCE_TYPE_ID} = 8.00 then {New Field Heading.THRESHOLD}
Any help would be appreciated.
Thanks,
We are running CR 7 and Oracle 8.0.5.
There are 3 tables:
1. opc_source_templ
2. opc_monitor_cond
3. opc_logfile_source
Table 1 is linked to table 2 by a field called template_id.
Table 1 is also linked to table 3 by the same field(template_id). There is a field called source_type_id in table 1. Depending on that type, data is stored in different tables. I want to create a formula that will pull template_name from table 1, and depending on the source_type, either threshold from table 2 or logfile from table 3. I tried the following formula, and either one of the lines work by themselves, but not together:
If {New Field Heading.SOURCE_TYPE_ID} = 4.00 then {New Field Heading.LOGFILE}
else if {New Field Heading.SOURCE_TYPE_ID} = 8.00 then {New Field Heading.THRESHOLD}
Any help would be appreciated.
Thanks,