Home » Developer & Programmer » Forms » Change the value of checkbox at runtime
Change the value of checkbox at runtime [message #84899] Sun, 09 May 2004 22:54 Go to next message
Nadir Pervez Gill
Messages: 1
Registered: May 2004
Junior Member
Can any on tell me how to change the value of checkbox of detail bolck by using checkbox of master block at runtime.
thanks
Re: Change the value of checkbox at runtime [message #84922 is a reply to message #84899] Wed, 12 May 2004 02:57 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
Make use of When-New-record-Instance Trigger in the Detail block.
As son as you navigate to a New record in the Detail block the value of Materblock check box can be populated.
Just write :Detail.item:=:Master.item;

Alos write a when-check-box chnaged trigger on the Master block so if the user changes its value then value in the Detail block is also changed.
Just write :Detail.item:=:Master.item;

Hope this helps.

Regards
Himanshu
Re: Change the value of checkbox at runtime [message #85012 is a reply to message #84899] Fri, 21 May 2004 04:17 Go to previous message
Anupam
Messages: 62
Registered: July 2001
Member
let suppose u assign the property valuse when unchecked to 'N' then just code

:checkbox_name:='N' ;

it ll work
Previous Topic: How can I display 2 different canvas same time
Next Topic: List Item and :system.cursor_record
Goto Forum:
  


Current Time: Mon Jul 08 15:24:28 CDT 2024