Home » Developer & Programmer » Reports & Discoverer » 'Layout Editor' Qtn...
'Layout Editor' Qtn... [message #396419] Mon, 06 April 2009 09:25 Go to next message
Messages: 84
Registered: October 2008
Somebody pls. advise if it's possible to programmitically change the layout editor.

For example, i have created a field to show images.
For some of images, i want to a larger image for others, smaller.
This criteria is driven by pre-set conditions.

Re: 'Layout Editor' Qtn... [message #396448 is a reply to message #396419] Mon, 06 April 2009 14:48 Go to previous message
Messages: 20847
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
One possible solution might be creating both small and large images at the same time, one over another. Depending on conditions you've mentioned, you'd write a format trigger for both images. As they return Boolean, you'd simply exclude one of them. For example:
-- smaller image format trigger
return (:display_small_image = 'Y');
-- larger image format trigger
return (:display_small_image <> 'Y');
where "display_small_image" represents parameter; if its value is 'Y', you'd display a small image. Otherwise, you'd display a large image.
Previous Topic: Barcode IN Report Builder
Next Topic: Error in running reports in application server 10g
Goto Forum:

Current Time: Thu Oct 27 04:03:10 CDT 2016

Total time taken to generate the page: 0.09516 seconds