making a subform noneditable

Peter_PardonPeter_Pardon Member Posts: 16
edited 2006-07-25 in Navision Attain
Hi,

I have one form with 2 subforms in it.

now I want to be able to say with some code in my form that the 1st subform is editable and the second one is noneditable ore vice versa.

I have tried already many things but haven't succeeded yet.

Can anyone help me with this?

Thanks in advance

Comments

  • krikikriki Member, Moderator Posts: 9,112
    You have to give a name to your subforms. (see the name-property).
    Then you can do this:
    CurrForm.subSubForm.EDITABLE(FALSE); // or TRUE
    
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Peter_PardonPeter_Pardon Member Posts: 16
    Thanks
Sign In or Register to comment.