check box making problem Urgent please [message #205492] |
Sat, 25 November 2006 04:09 |
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 |
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 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS 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
|
|
|