How to insert variable throw string

I need to type bellow Equation and path variable (UserInput) while user have to type like this >>(1/2/2019 00:00:00 AM)

Equation : (‘Site Status’ = “Under test with alarms” ) AND ( ‘Create Date’ >= “1/1/2018 12:00:00 AM” ) AND ( ‘Create Date’ < “1/2/2019 00:00:00 AM”)

but it is not working as the result will be as bellow :

(‘Site Status’ =“Under test with alarms”) AND (‘Create Date’>= “1/1/2018 12:00:00 AM”) AND (‘Create Date’<= )

it didn’t take variable (UserInput) :slight_smile:

  • i try to change variable type (eq_New_2G) to be string but not working ,
  • also to change variable type (UserInput) to string but not working,
  • also to use UserInput.ToString , but not working.

i need to know what is the problem .

use like this:
"([Site Status]=‘Under’ AND [Create Date] >= ‘1/1/2018’…