I am creating a report in CR 8.5 against an Oracle 8 database and have two tables which are join together using an outer join. I have an additional field that needs to be filtered in which the user provides the value. The field I am filtering on is on the outer joined table. We need all the values from the driving table to be displayed reguardless of the filtered value. Is there a way to have the filter/Select Expert have an outer join on it. Because with out it I do not get the appropriate data back. Here is the working query if done directly in Oracle.
The problem is the Values1.T$PTYP(+) field:
select Structure_Label.T$LV00,Structure_Label.T$LD00, Values.T$AMNT
from ttffst310707 Structure_Label,
ttffst300707 Values1
where Structure_Label.T$FSTM = Values1.T$FSTM(+)
and Structure_Label.T$LV00 = Values1.T$LV00(+)
and Structure_Label.T$LV00 = Values1.T$LV00(+)
and Structure_Label.T$FSTM = 'CA1300'
and Values1.T$PTYP(+) = 1
order by Structure_Label.T$LV00
I can't use the SQL Designer Query Tool since I need to pass a paramater to the query. Unless you can tell me how to pass a parameter, then I could use the query tool.
I am also trying to avoid using a view, because of a long list of maintance issue. I would like a CR solution.
The problem is the Values1.T$PTYP(+) field:
select Structure_Label.T$LV00,Structure_Label.T$LD00, Values.T$AMNT
from ttffst310707 Structure_Label,
ttffst300707 Values1
where Structure_Label.T$FSTM = Values1.T$FSTM(+)
and Structure_Label.T$LV00 = Values1.T$LV00(+)
and Structure_Label.T$LV00 = Values1.T$LV00(+)
and Structure_Label.T$FSTM = 'CA1300'
and Values1.T$PTYP(+) = 1
order by Structure_Label.T$LV00
I can't use the SQL Designer Query Tool since I need to pass a paramater to the query. Unless you can tell me how to pass a parameter, then I could use the query tool.
I am also trying to avoid using a view, because of a long list of maintance issue. I would like a CR solution.