Set variable with user input

Discussion created by arnojansen1 on Apr 3, 2017
Latest reply on Apr 3, 2017 by arnojansen1



I have a script where I use the following

set variable [$DayShift ; value: 1 }


further in the script I Set Field to [Date + $DayShift ]


So in short in this example I add 1 to the date, if date was 3Apr17 it becomes 4Apr17


What i am looking for is a show custom dialog where the user is asked to enter by how many days he want to move the date, (and set the value:1 to any value he or she wants) this should work with negative and positive numbers.


I use FMpro advanced on Macbook


Your help is appreciated as always.