Check Box

bavani_umabavani_uma Member Posts: 9
Hi,

I have a tabular form,if the the checkbox is true then a particular field should be enabled.

This work fine 4 me but my problem is if the checkbox is clicked the entire column is enabled and if the checkbox is false the entire column is disabled.

I want it to be enabled or disabled for a particular record(row)

I wrote the following code in the onvalidate trigger of the check box.
CurrForm.Fixed.ENABLED("Fixed Check");

Please Help

Comments

  • devu_13devu_13 Member Posts: 101
    Hi
    Just check your Field property and remove your code.
    Devendra Kr. Sharma
    IBIZ Consulting Services,India
  • PeterDPeterD Member Posts: 66
    You can only set the property for a field, which is an entire column in a Table Box form.

    The best you can do is enable / disable the column based on the record you're on. For that you can add code in the Form.OnAfterGetRecord.
    CurrForm.[Field Name].EDITABLE([Boolean Field]);
    

    This works most of the time. In our case we sometimes need to change row back and forth to set EDITABLE correctly.
Sign In or Register to comment.