Multi-line and next_item fails. [message #117516] |
Wed, 27 April 2005 13:24 |
Bill B
Messages: 1971 Registered: December 2004
|
Senior Member |
|
|
I have setup a trigger on KEY-UP and KEY-DOWN. The code for KEY-DOWN follows.
-------------------------
DECLARE
STRING VARCHAR2(80);
BEGIN
STRING := GET_ITEM_PROPERTY(:SYSTEM.CURSOR_ITEM,MULTI_LINE);
IF STRING = 'FALSE' THEN
next_item;
ELSE
null;
end if;
end;
-------------------------
What can I put into the code where NULL is to go to the next_item from a multi_line item. next_item will NOT navigate out of the field, manually entering a TAB will exit, but do_key doesn't support the TAB key. And I do NOT want to remap my keys, because the form will have to be distributed on a number of clients. Any help would be appreciated.
|
|
|
|
Multi-line and next_item fails. [message #246187 is a reply to message #117516] |
Wed, 20 June 2007 04:08 |
Hine
Messages: 16 Registered: October 2006
|
Junior Member |
|
|
I'm useing Oracle Forms 9i
I have some commercial application
I make the form for then Invoice
I need to insert the list of products into the multi_line items
I would like to do so, that after I insert one product, that the cursor move to the next empty row.
I was tried with DO_KEY('DOWN'), but after that, the inserted item was blocked
Regards!
Hine
|
|
|
Re: Multi-line and next_item fails. [message #247189 is a reply to message #246187] |
Mon, 25 June 2007 00:36 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
If you have the source code of this form then you will need to review the complete logic flow in this form.
If this is the first form you have ever worked on then I suggest you get someone with more experience to do the work for you.
David
|
|
|