Can I pass a Variable for "Name" in the Editable f

newcomer
newcomer Member Posts: 2
edited 2007-02-21 in Navision Attain
I want to fill "FieldName" in the function "CurrForm.FieldName.EDITABLE(TRUE)" by a Variable. Does anybody have an idea how to do so?

Comments

  • eromein
    eromein Member Posts: 589
    This is not possible :(


    You have to enter this command for every field you want to disbale or make non-editable.
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • Yogi1983
    Yogi1983 Member Posts: 22
    I'm sorry to pull this subject up again, but I'm facing the same problem only with a later version of Navision (4.0 SP2). Does anyone know if it's still not possible in this version, or is there some kind of workaround to work with variable fieldnames in the CurrForm statement?