switching properties of fields on page

whynotwi
whynotwi Member Posts: 20
edited 2012-08-27 in NAV Three Tier
Hey guys,

in the item card (page 30) i want to set some fields to editable or not, depending on a boolean field in the item record.
I've provided them with a variable which shall be set to yes or no when the record is loaded. But NAV always tells me, the identifier 'XYZ' could not found, no matter in which trigger i've put the code.

So, which trigger is the right one ?

Comments

  • Sog
    Sog Member Posts: 1,023
    You might want to add the variable in the dataset. Maybe that will solve your error: (goto globals/locals, depending where XYZ is, shift + F4 for the properties, and switch add in dataset to true.
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • ufuk
    ufuk Member Posts: 514
    Set IncludeInDataset property of the variable to Yes.
    Ufuk Asci
    Pargesoft
  • whynotwi
    whynotwi Member Posts: 20
    Thanks for your fast help. Sometimes problems are so stupid.... ](*,)