1 Reply Latest reply on Jan 19, 2015 2:45 PM by philmodjunk

    Making a script finding values from another field

    Karel

      Title

      Making a script finding values from another field

      Post

      How do I write the script:

      If Value in field REGION = NORTH
      Go to field "Teacher" and insert value "John" from valuelist "teachers"

      Maybe you have answered a similar question before, but your knowldedge base is too massive.. :)

       

      Thanks

        • 1. Re: Making a script finding values from another field
          philmodjunk

          But why would you use a value list at all if you have a script inserting the value? The presence of a value list would have no effect on how this script functions from what you have so far described.

          If [ Table::Region = "North" ]
             Set Field [Table::teacher ; "John" ]
          End If

          But there are many details missing from your question and a number of them could keep the above script from working correctly.