AnsweredAssumed Answered

Variables

Question asked by Scorpion167 on Aug 23, 2017
Latest reply on Aug 23, 2017 by Scorpion167

Is it possible is set a variable in an "If" script step?

 

I'm trying to create a script that will look at a Script Parameter and then perform a task.

The main script that I'm working with serves two different layouts that have Button Bars.  Each button has a function for finding and sorting records.

 

Here's what I've tried to do and it didn't work;

 

If [ Set Variable [$$Boards; Get(ScriptParameter) = + "AllBoards_s" ] / the button that run this script has the Script Parameter:AllBoard_S

     Sort Records [Restore; with dialog; off] / the sort criteria field is BoardNo

End If

 

Suggestions???

 

 

 

Thanks

Outcomes