AnsweredAssumed Answered

case function Question

Question asked by Scorpion167 on Feb 26, 2018
Latest reply on Feb 26, 2018 by beverly

I'm using the Case Function to set the value of a field.


Set Field [TableOccurance::Filename ;

Case( TableOccurance2::Filename  = "Text 1" "Some Other Text" ;

  TableOccurance2::Filename  = "Text 2" "Some Different Text" ;

TableOccurance2::Filename  = "Text 3" "Some Strange Text" ;


//The tables have a relationship.


In Data Viewer the text for each case is there but the Set Field does not happen when I single step through the script.

I've tried the text with and without quotes, without quotes I get an error.




Open to suggestions