Home » Developer & Programmer » Forms » check box making problem Urgent please
check box making problem Urgent please [message #205492] Sat, 25 November 2006 04:09 Go to next message
khanaekhan
Messages: 2
Registered: November 2006
Junior Member
Hi,

i have detail block containing a flag field which contains either Form or Report as display field. there are four chech boxes select, add, edit and delete.

in case of form. i want all check boxes should be enabled and
in case of report only select chech box should be enabled others disabled. but problem is when i am on first record containing Form flag. all are cheched. also all are cheched in second row where flag is Report. focus not on second row. when i directly check the add check box in 2nd row. it is cheched and error message "enabled property can not be set" is display because i have written code on when new record instance. however when i go to 2nd record by clicking on field other than chech box. there is no problem. all check boxes except select is disabled.

please help me.

thanks.
khan.
Re: check box making problem Urgent please [message #205524 is a reply to message #205492] Sat, 25 November 2006 06:40 Go to previous messageGo to next message
tareq
Messages: 5
Registered: November 2006
Location: amman
Junior Member

hello,

you can put your validation on every check box, to check if you are using form or report, for form the user can change the check box, for report you can only change the select check box the others will not be changed, use when check box change trigger.

regards
Tareq haddadin
Re: check box making problem Urgent please [message #205631 is a reply to message #205492] Sun, 26 November 2006 22:29 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you tried setting the 'set_item_instance_property' 'insert_allowed', 'navigable', and 'update_allowed' attributes in the Post-Query trigger and the When-Validate-Item trigger of the item that contains 'Form/Report'?

David
Previous Topic: help needed
Next Topic: duplication check
Goto Forum:
  


Current Time: Mon Dec 05 15:13:41 CST 2016

Total time taken to generate the page: 0.08190 seconds