Home » Developer & Programmer » Forms » Multi-line and next_item fails.
icon8.gif  Multi-line and next_item fails. [message #117516] Wed, 27 April 2005 13:24 Go to next message
Bill B
Messages: 1484
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.
Re: Multi-line and next_item fails. [message #118052 is a reply to message #117516] Mon, 02 May 2005 20:04 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Try using the get_item_property(nextitem) to get the next item name and then use go_item to get there.

David
Multi-line and next_item fails. [message #246187 is a reply to message #117516] Wed, 20 June 2007 04:08 Go to previous messageGo to next message
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 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT 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
Previous Topic: log-in based problem
Next Topic: PDE-PER001 Internal error (scaba 18)
Goto Forum:
  


Current Time: Sun Dec 11 06:11:22 CST 2016

Total time taken to generate the page: 0.08723 seconds