2 Replies Latest reply: Aug 27, 2013 6:29 AM by Anand U RSS

    Equating dates

    Bharath Umesh

      Hi,

       

      we are fetching the date from dataobject and storing it in a variable. How do we use the variable inside the queryText while using GET_SEARCH_RESULTS?

      PFB code:

      String variable=dataObject.get ("xCreationDate");

      binder.putLocal("QueryText",

        " dDocName <matches> `*` <AND> xCollectionID = `88578884028001204`<AND> xCreationDate =` variable`");

      // have to equate the xCreationDate with the variable.

       

      How do i achieve it? Please provide inputs.

       

      Thanks in advance.

      Bharath