Home » Developer & Programmer » Forms » "Too many Declareation" error (database 10g , forms 6i , XP SP2)  () 1 Vote
icon2.gif  "Too many Declareation" error [message #327076] Fri, 13 June 2008 11:55 Go to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

I have problem with this node :-
in WHEN-TREE-NODE-SELECTED :-
DECLARE
   htree         ITEM;
   current_node  FTREE.NODE;
   find_node     FTREE.NODE;
BEGIN
   htree := Find_Item('BB.TR');
   Ftree.Set_Tree_Node_Property(htree, :SYSTEM.TRIGGER_NODE, ftree.NODE_ICON , 'ora' );
END;

when I compile the code .... this error appear :-
http://img167.imageshack.us/img167/8766/tmdkx3.png
I review the syntax , but everything is OKay.

so ... what's went wrong in the Code ?

PS : I attached the fmb file to test it , if you would .
Re: "Too many Declareation" error [message #327103 is a reply to message #327076] Fri, 13 June 2008 16:55 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Took me 10 seconds to find this
I suppose you found it too. Did it not work for you?
icon10.gif  Re: "Too many Declareation" error [message #327149 is a reply to message #327076] Sat, 14 June 2008 04:56 Go to previous message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

DECLARE
   htree         ITEM;
   sys_trigger_node     FTREE.NODE;
BEGIN
	 sys_trigger_node := :SYSTEM.TRIGGER_NODE ;
   htree := Find_Item('BB.TR');
   Ftree.Set_Tree_Node_Property(htree, sys_trigger_node , ftree.NODE_ICON , 'ora' );
END;

and the icons in :-
http://img258.imageshack.us/img258/1966/sinicosd8.png

all now is great ...... thanks for help
Previous Topic: How to display th e data
Next Topic: Unnecessary message displayed: 'Do you want to save the changes you made?'
Goto Forum:
  


Current Time: Fri Sep 27 14:18:53 CDT 2024