Get item value give only the item id
395673Dec 2 2003 — edited Dec 3 2003Hi All,
I have a Form with several Text Items and a Send button. The idea is that a user will click on an item, perhaps update the items value and then select the Send button to send the value to a database procedure. When the user clicks on the item it becomes the current item. When the user presses the buttton the value in the current item should be sent to the database. When the button is pressed the following procedure is called:
Procedure Send IS
curr_name VARCHAR2(50);
curr_datatype VARCHAR2(20);
Begin
IF NOT ID_NULL(curr_item_id) THEN
curr_name := get_item_property(curr_item_id, ITEM_NAME);
curr_datatype := get_item_property(curr_item_id, DATATYPE);
MESSAGE('In Send - ' || curr_name || ' ' || curr_datatype);
END IF;
END Send;
All I have is the item ID of the current item and I need to get the value the item contains. Is there a way to do that? I don't see a property that has the value and I haven't found a way.
Thanks
Nathan