Question about filling a TEXT_ITEM [message #461730] |
Mon, 21 June 2010 03:52 |
mrwhiteonee
Messages: 2 Registered: June 2010 Location: Romania
|
Junior Member |
|
|
Hello ,
I`m new with Oracle Forms , so please don`t mind if this is a stupid question .
I have the following trigger WHEN-BUTTON-PRESSED :
DECLARE
BEGIN
IF :SEARCH.SBOX is not null then -- (search text item)
IF :SEARCH.LIST45 = 'ERPLINK' THEN --(a drop down list)
GO_ITEM('CUSTOMERVIEW.ERPLINK');
enter_query;
IF :System.Mode = 'ENTER-QUERY' THEN
:CUSTOMERVIEW.ERPLINK:=:SEARCH.SBOX;
Synchronize;
execute_query;
END IF;
END IF;
END IF;
END;
What do I want is the following thing :
I have a text box :SEARCH.SBOX in which I write a number.
When I press the button which will execute that trigger above, I want that the value from :SEARCH.SBOX, after the form will go to enter-query mode to fill up another text_item :CUSTOMERVIEW.ERPLINK with same value and execute_query(this text item is in master-detail form).
The thing is that is not working...
So please help me.
Thank you.
|
|
|
|
|
|