When the end user selects either "Day Shift" or "Night Shift" from the prompt I would like the select criteria to assign the following times accordingly. Can someone suggest best way to accomplish this?
I've created the below formula but I get "boolean" error. I don't think I want to use if {?Days/Nights} = "Day shift" then true else false , do I?
stringvar Starttime := "";
stringvar Endtime := "";
if {?Days/Nights} = "Day shift" then
starttime := "06:00:00" and
endtime := "17:59:59"
else
starttime := "18:00:00" and
endtime := "05:59:59"
As always, Thank you in advance.
I've created the below formula but I get "boolean" error. I don't think I want to use if {?Days/Nights} = "Day shift" then true else false , do I?
stringvar Starttime := "";
stringvar Endtime := "";
if {?Days/Nights} = "Day shift" then
starttime := "06:00:00" and
endtime := "17:59:59"
else
starttime := "18:00:00" and
endtime := "05:59:59"
As always, Thank you in advance.