I have this that works:
ExecuteSQL ( "Select email_Full from staffing where Branch = ? and EmployeeID = ? and Title= ?"; " "; " "; "001" ; "33748"; "Supv V" )
but I need the first parameter to be within the range of 001-300; the second parameter to be >0 and the third could be Supv, Supv 1, Supv 2, Supv 4 or Supv 5
All my attempts fail.