Tempoary Editable Field

sabzam
sabzam 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

  • kriki
    kriki Member, Moderator Posts: 9,132
    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!


  • Savatage
    Savatage Member Posts: 7,142
    CASE "Account Type" OF 
      "Account Type"::"G/L Account" : 
    CurrForm.Description.EDITABLE := TRUE;
      ELSE 
    CurrForm.Description.EDITABLE := FALSE;
    END;
    
  • Malajlo
    Malajlo Member Posts: 294
    CurrForm.Description.EDITABLE("Account Type"="Account Type"::"G/L Account")