Automation

 View Only
  • 1.  Passing a value

    Posted Mar 10, 2022 03:32 PM

    NeenaJim_0-1646926114998.png

     

    Can someone please help me how to pass the value of $SRUserName in DCU.Access ? 

    If I mentioned the value directly then it is accepting it. But through a variable ($SRUserName) it is not passing. 



  • 2.  RE: Passing a value
    Best Answer

    Posted Mar 10, 2022 03:39 PM

    In your 1st snippet you are using single quotes, which means there is no variable substitution.
    Try using double quotes.

    In your 2nd snippet you are passing an Array, while the parameter expects a String



  • 3.  RE: Passing a value

    Posted Mar 10, 2022 03:43 PM

    Hello  ,

    Thank you very much. You are correct 100%. I missed ""