Home » Developer & Programmer » Forms » How to get Current Item name?
How to get Current Item name? [message #80740] Thu, 14 November 2002 08:30 Go to next message
Swamy
Messages: 78
Registered: June 2002
Member
I wrote a when-button-pressed trigger code as below to display the Current Item name.

DECLARE
item_name VARCHAR2(100);
BEGIN
item_name := get_item_property(:SYSTEM.CURRENT_ITEM,ITEM_NAME);
message('item_name = '||item_name);
message(' ');
END;

This code compiled well, but giving run-time error with a message as below.

FRM-41805: Ambiguous item name: PAYER_ID.

How can I get the Current Item Name? I appreciate in advance for the help.
Re: How to get Current Item name? [message #80741 is a reply to message #80740] Thu, 14 November 2002 10:26 Go to previous message
Imran
Messages: 56
Registered: November 2001
Member
Hello
Use :System.Cursor_Item instead of :System.Current_Item
Previous Topic: Re: developer6.0 installation prob.
Next Topic: Can we change the Return Item of an LOV at runtime??
Goto Forum:
  


Current Time: Wed Apr 24 19:27:16 CDT 2024