|
|
|
Re: REPORT NOT RUNNING AS SHOULD WHEN HANGING THROUGH A FORM [message #636082 is a reply to message #636050] |
Thu, 16 April 2015 06:59 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/a92697b52861a89df6383c55b6d305a6?s=64&d=mm&r=g) |
ORA2015
Messages: 49 Registered: March 2015
|
Member |
|
|
Hello Craig,
This is the code placed in a when tree node activated trigger under the tree_control item in forms builder:
DECLARE
htree ITEM;
node_value VARCHAR2(100);
report_id Report_Object;
vNode ftree.node;
BEGIN
htree := Find_Item('LAUNCH.TREE_CONTROL');
node_value := Ftree.Get_Tree_Node_Property(htree, :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE);
report_id:=FIND_REPORT_OBJECT('reports');
if node_value = 'Apple Report' then
RUN_REPORT(report_id,:GLOBAL.repserv,'pdf',CACHE,:GLOBAL.dir || 'Apple.rdf','paramform=yes','/reports/rwservlet');
end if;
END;
[Updated on: Thu, 16 April 2015 07:01] Report message to a moderator
|
|
|
|
|