Home » Developer & Programmer » Forms » Change value of text item at run-time
Change value of text item at run-time [message #200343] Mon, 30 October 2006 07:18 Go to next message
Messages: 122
Registered: February 2006
Senior Member
I have a text item. I changed the label dynamically at run-time like this.
item_id13 := find_item('manu_order.text_item87');
select value into m FROM form_translation where key='(ALL FIELDS ARE MANDATORY)' and lang='FR';

Now I want to change the value of that text item dynamically. How can I do this?

Also, there is a list-item. I want to change this dynamically at run-time. How can I do this?
Re: Change value of text item at run-time [message #200382 is a reply to message #200343] Mon, 30 October 2006 10:42 Go to previous messageGo to next message
Messages: 184
Registered: October 2005
Location: Kolkata
Senior Member

Just Assign the value you want to display on that field.
For list item also it should work.

For Example if you want to assign a value at runtime in manu_order.text_item87 then write it like
manu_order.text_item87 := 'Hello World';
or manu_order.text_item87 := varVariableName;


[Updated on: Mon, 30 October 2006 10:45]

Report message to a moderator

Re: Change value of text item at run-time [message #200422 is a reply to message #200382] Mon, 30 October 2006 19:48 Go to previous message
Messages: 10180
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Do you mean you want to change the list associated with the list item? If yes, then you need to 'create' a 'record_group' (make sure to test whether is exists and 'delete' it before executing the 'crete' a second time), populate it (add, and associate it with your item. Search for 'create_group' and 'delete_group' in the documentation and this forum.

Previous Topic: FRM:40926 Ole Object is null
Next Topic: Null Record Problem of Cursor
Goto Forum:

Current Time: Thu Jul 20 21:54:15 CDT 2017

Total time taken to generate the page: 0.09966 seconds