Home » Developer & Programmer » Reports & Discoverer » 'Layout Editor' Qtn...
'Layout Editor' Qtn... [message #396419] Mon, 06 April 2009 09:25 Go to next message
Maverick27
Messages: 84
Registered: October 2008
Member
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.

Mave
Re: 'Layout Editor' Qtn... [message #396448 is a reply to message #396419] Mon, 06 April 2009 14:48 Go to previous message
Littlefoot
Messages: 20900
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: Wed Dec 07 22:29:35 CST 2016

Total time taken to generate the page: 0.21669 seconds