hi Everyone,
I would like to select ALL the values in the prompt. To achieve this, I did the following steps. but somewhere I mised out…
In the universe,Object properties, Edited the SQL and written the following statement with the existing one.
I used Union, select ‘ALL’ from dual
and enbaled the do not overritten the SQL check mark.
Finally, My SQL look like,
select distinct ‘deptname’ from department
union
select ‘ALL’ from dual
Then, I have created the condition in the condition pane of the Universe, I have enetered the following query.
(@Select(Department\deptname) IN @Prompt(‘Enter the Department Name’,‘A’,‘Department\deptname’,mono,free)) OR
(‘ALL’ IN @Prompt(‘Enter the Department Name’,‘A’,‘Department\deptname’,mono,free))
Parsing is Ok.
This is what I have done in the designer.
In the reporter, I have created the propmt for the deptname, while selecting the values, I have seen ALL, and choosed the same.
When I am running the report. I am getting “No Data Fect Message” (My Department table has rows)
Where I have missed out? Is there anyting wrong in the query?
Is it the way to get all the values or any other way is there?
Please help me…
Thanka and Regards,
N.Selva
selvaips (BOB member since 2005-05-03)