Home » Developer & Programmer » Forms » changing check box value programatically
changing check box value programatically [message #129405] Mon, 25 July 2005 02:17 Go to next message
Nilesh Kunte
Messages: 30
Registered: December 2004
Location: Indore
Member
Hi,
I have a checkbox with properties (value when checked -->>y, value when unchecked -->>N). I want to change this property programatically, which will be controlled throught a list box values.
How to change this property programatically? .
viz. what should i write in list box's key-next-item trigger?? set_item_property('ck1',checked,????);

required urgently.

Re: changing check box value programatically [message #129406 is a reply to message #129405] Mon, 25 July 2005 02:30 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I assume you mean 'Y' not 'y'.

Just use ":blk.ck1 := 'Y';" to make it checked.

David

[Updated on: Mon, 25 July 2005 21:51]

Report message to a moderator

Re: changing check box value programatically [message #129500 is a reply to message #129405] Mon, 25 July 2005 08:28 Go to previous message
misragopal
Messages: 125
Registered: June 2005
Location: New Delhi, india
Senior Member

simply use form's build in

Convert_Other_Value('Emp.Marital_Status');

where emp is block name
and marital_status is check box name...
Previous Topic: Message Box in 9i
Next Topic: Need solutions for converting form5 to forms 9i
Goto Forum:
  


Current Time: Fri Sep 20 10:43:00 CDT 2024