Select report design at run time depending on the value of dynamic parameter ?

Hi all Experts 

I have a small issue i am facing, there is a report ledger journal report, i have made design for each journal type and using controller class i am controlling the designs and it works fine when it is run from payment journals but when i run it from reports journals ---> print journal it does not give me the same result and only returning one designed which i assigned for the journal type= Daily .

so the question is how can i control that at run-time , lets says if i change the journal type at run time it should give me the designed assigned.

any help in this regard will be highly appreciated 

regards

Related
Recommended