<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do you reference a variable passed as a ... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252307#M396203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response, Stefan. I appreciate that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think my problem then lies with my objShell.Run command. This is a part my batch file script from where I run objShell.Run. I am not sure if I need to assign the file name on the Run command or like I am doing. Also, can I assign the parameter like I am doing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; qvdFileName = mid(sourceFile.Name,1,7) + ".qvd"&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Set ErrorCode = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set objShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objShell.Run """c:\Program Files\QlikView\QV.exe /r /v" /vqvdFileName "C:\QlikView Working Area\QV Data\Other Files\QV1.qvw", 1, true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you see anything wrong, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Jan 2017 18:10:29 GMT</pubDate>
    <dc:creator>edwinmatlapeng</dc:creator>
    <dc:date>2017-01-29T18:10:29Z</dc:date>
    <item>
      <title>How do you reference a variable passed as a ...</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252305#M396201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Evening All! How do you reference a variable passed as a parameter in a load script? Why is a long story suffice to say I want to create a qvd file for each flat file I load for other processes which will save us a lot of time and resources.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2017 17:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252305#M396201</guid>
      <dc:creator>edwinmatlapeng</dc:creator>
      <dc:date>2017-01-29T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reference a variable passed as a ...</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252306#M396202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you correctly, you reference this variable just like any other variable you create in the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Starting_QlikView.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Starting_QlikView.htm"&gt;Starting QlikView ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptVariables.htm" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptVariables.htm"&gt;Script variables ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2017 17:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252306#M396202</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-29T17:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reference a variable passed as a ...</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252307#M396203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response, Stefan. I appreciate that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think my problem then lies with my objShell.Run command. This is a part my batch file script from where I run objShell.Run. I am not sure if I need to assign the file name on the Run command or like I am doing. Also, can I assign the parameter like I am doing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; qvdFileName = mid(sourceFile.Name,1,7) + ".qvd"&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Set ErrorCode = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set objShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objShell.Run """c:\Program Files\QlikView\QV.exe /r /v" /vqvdFileName "C:\QlikView Working Area\QV Data\Other Files\QV1.qvw", 1, true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you see anything wrong, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2017 18:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252307#M396203</guid>
      <dc:creator>edwinmatlapeng</dc:creator>
      <dc:date>2017-01-29T18:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reference a variable passed as a ...</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252308#M396204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to change the run statement. Got it to work. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objShell.Run """c:\Program Files\QlikView\QV.exe"" /r /vqvdFileName="&amp;amp;mid(sourceFile.Name,1,7)&amp;amp;" C:\QlikView Working Area\QV Data\Other Files\QV1.qvw", 1, true&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2017 18:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-reference-a-variable-passed-as-a/m-p/1252308#M396204</guid>
      <dc:creator>edwinmatlapeng</dc:creator>
      <dc:date>2017-01-29T18:37:51Z</dc:date>
    </item>
  </channel>
</rss>

