Forms 4.5 Question

From: Liptay, Albert <aliptay_at_nortel.ca>
Date: Thu, 05 Nov 1998 08:05:39 -0500
Message-ID: <3641A2A3.B4D9C067_at_nortel.ca>



Hi All,

[Quoted] [Quoted] Well, I'm new to Forms (Developer/2000) and here is my question:

[Quoted] I've got a form with a bunch of graphs in it and that is all working well. I want to display some text retrieved from a table and can't get it to work.

[Quoted] [Quoted] I created a Display Item (from the help I'm assuming that's what I need) and then created a WHEN-NEW-ITEM-INSTANCE trigger to populate the item.

[Quoted] Here is my code for the trigger:

declare

[Quoted] 	it_id Item;
	message CHAR(256);
begin
	it_id := Find_Item('STATUSTEXT');
	select text into message from status_text;
	SET_ITEM_PROPERTY(it_id, DEFAULT_VALUE, message);
end;

[Quoted] Unfortunately this isn't working, I guess I don't know if I can use SET_ITEM_PROPERTY to set the value of the Display Item (in this case STATUSTEXT) and secondly, what the field I want to specify is.

[Quoted] Any Ideas or help would be really appreciated.

Thanks,
Albert Liptay. Received on Thu Nov 05 1998 - 14:05:39 CET

Original text of this message