11 Replies Latest reply: Feb 3, 2011 4:46 PM by Matias Soffiantini RSS

    Command line arguments in qlickview

       

      How to pass the db connection as commandline argument to QV file.

      /*********************************/

      "D:\CLICKVIEW\QlikView\Qv.exe" /l /vvar1=D:\cust_rep_1d.swt D:\qlickview\Copy of rpt_datafile1.qvw

      /*********************************/

      This above line of code wrks for me... Its a .bat file code..

      BUT if i have to promt the user for i/p and accept that params then?

      The below written code is not wrking for me... can anyone plz help.

      /*********************************/

      @echo off

      echo "database connection"
      set /p DBNAME=

      echo %UserName% %PassWord%
      "D:\CLICKVIEW\QlikView\Qv.exe" /l /v var1= %DBNAME D:\qlickview\Copy of rpt_datafile1.qvw

      /*********************************/

      Thanks,

      Prajakta