set at runtime(color,pattern) using srw package-list of valid values to use
EmielBOct 22 2010 — edited Oct 28 2010Hi to you all,
Sometimes in reports we like to set color ,pattern etc.. of a filed at runtime.
we can do this by using the srw package.
colors are identified by their names or rgb values
to retrieve their name or rgb value i use the conditional formatting 'tool' or 'property' of that field.
eg :
-- Automatically Generated from Reports Builder.
if (:A = 'blue')
then
srw.set_foreground_border_color('r0g75b100');--light blue
srw.set_foreground_fill_color('r0g25b75');-middle blue
srw.set_text_color('r0g0b50'); --darkblue
end if;
However,
is their a list available with the valid pattern names to use with
SRW.SET_FILL_PATTERN('pattern');
?
greetings,
E.