Tempoary Editable Field

sabzamsabzam Member Posts: 1,149
Dear All,

I need to set the description field in the Gen. Joural Line non-editbale but it turns into editable whenever the Accoun Type is G/L Account. Is this possible?

Comments

  • krikikriki Member, Moderator Posts: 9,110
    Probably somewhere in the form there is a statement that makes the field editable [CurrForm."The Field".EDITABLE(TRUE); ].
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • SavatageSavatage Member Posts: 7,142
    CASE "Account Type" OF 
      "Account Type"::"G/L Account" : 
    CurrForm.Description.EDITABLE := TRUE;
      ELSE 
    CurrForm.Description.EDITABLE := FALSE;
    END;
    
  • MalajloMalajlo Member Posts: 294
    CurrForm.Description.EDITABLE("Account Type"="Account Type"::"G/L Account")
    
Sign In or Register to comment.