<?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 Using Variables in GetContent in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263057#M707708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to change the vSQL to 'dan'.&lt;/P&gt;&lt;P&gt;Also created a textobject showing the value: = 'sql: ' &amp;amp; vSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This now shows 'dan'.&lt;/P&gt;&lt;P&gt;When hitting the button the msgbox appears but still no data in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2011 11:20:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-11-29T11:20:26Z</dc:date>
    <item>
      <title>Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263051#M707699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have onve variable vSQL, this is set in a button and looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 'EXEC master.dbo.xp_AnalogWideHistory ' &amp;amp; vBatchStartTime &amp;amp; ', ' &amp;amp; vBatchStopTime &amp;amp; ', ' &amp;amp; 100000 &amp;amp; ', ' &amp;amp; vTag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The button then run a macro where I try to use this in EDX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET SQL = ActiveDocument.Variables(vSQL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(...)&lt;/P&gt;&lt;P&gt;GetEDXRequestString = "&amp;lt;Global method=""RequestEDX"" key=""" &amp;amp; strRequestKey &amp;amp;&amp;nbsp; """&amp;gt;&amp;lt;i_TaskIDOrTaskName&amp;gt;" &amp;amp; strTaskName &amp;amp; "&amp;lt;/i_TaskIDOrTaskName&amp;gt;&amp;lt;i_Password&amp;gt;" &amp;amp; strTaskPassword &amp;amp; "&amp;lt;/i_Password&amp;gt;&amp;lt;i_VariableName &amp;gt;vSQL&amp;lt;/i_VariableName &amp;gt;&amp;lt;i_VariableValueList &amp;gt;&amp;lt;string&amp;gt;" &lt;SPAN style="color: #ff0000;"&gt;&amp;amp; SQL.GetContent.String &amp;amp;&lt;/SPAN&gt; "&amp;lt;/string&amp;gt;&amp;lt;/i_VariableValueList &amp;gt;&amp;lt;/Global&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the macro I get the following error:&lt;/P&gt;&lt;P&gt;Object required: 'SQL'&lt;/P&gt;&lt;P&gt;and it then highlights the last part of the GetEDXRequestString mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 08:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263051#M707699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-29T08:51:16Z</dc:date>
    </item>
    <item>
      <title>Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263052#M707700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL is a keyword fro QlikView, just change the name of the variable to xSQL or something different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 09:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263052#M707700</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-29T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263053#M707702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tahnks for your post, unfortunately this dod not help&lt;/P&gt;&lt;P&gt;I tried changing it to varSQL, but get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object required: 'varSQL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 10:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263053#M707702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-29T10:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263054#M707704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it's a typo, but the variable needs to be enclosed in double quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SET SQL = ActiveDocument.Variables("vSQL")&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can refer later to it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SQL.GetContent.String&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 10:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263054#M707704</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-29T10:19:05Z</dc:date>
    </item>
    <item>
      <title>Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263055#M707706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how it looks right now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim varSQL&lt;/P&gt;&lt;P&gt;'Dim stringSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET &lt;STRONG&gt;varSQL &lt;/STRONG&gt;= ActiveDocument.Variables("vSQL")&lt;/P&gt;&lt;P&gt;'SET stringSQL = SQL.GetContent.String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetEDXRequestString = "&amp;lt;Global method=""RequestEDX"" key=""" &amp;amp; strRequestKey &amp;amp;&amp;nbsp; """&amp;gt;&amp;lt;i_TaskIDOrTaskName&amp;gt;" &amp;amp; strTaskName &amp;amp; "&amp;lt;/i_TaskIDOrTaskName&amp;gt;&amp;lt;i_Password&amp;gt;" &amp;amp; strTaskPassword &amp;amp; "&amp;lt;/i_Password&amp;gt;&amp;lt;i_VariableName &amp;gt;vSQL&amp;lt;/i_VariableName &amp;gt;&amp;lt;i_VariableValueList &amp;gt;&amp;lt;string&amp;gt;" &amp;amp; &lt;STRONG&gt;varSQL.GetContent.Strin&lt;/STRONG&gt;g &amp;amp; "&amp;lt;/string&amp;gt;&amp;lt;/i_VariableValueList &amp;gt;&amp;lt;/Global&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still no effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I also now tested to output the "vSQL" in a msgbox, like: msgbox("String: " &amp;amp; vSQL). This returns empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error that I get is still:&lt;/P&gt;&lt;P&gt;Object required: 'varSQL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am now not sure if that is because the variable it self is set to empty(as shown in the msgbox) or is it in the method that I try to use it.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 10:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263055#M707706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-29T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263056#M707707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the Settings menu, Variable Overview, find vSQL and set any random value just to make sure that the macro works fine. As far as I see, the code seems to be all right and varSQL is an object provided vSQL exists in the document and has any value. Check that you are not declaring varSQL in one sub and calling from another as a "private" variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 11:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263056#M707707</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-29T11:03:23Z</dc:date>
    </item>
    <item>
      <title>Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263057#M707708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to change the vSQL to 'dan'.&lt;/P&gt;&lt;P&gt;Also created a textobject showing the value: = 'sql: ' &amp;amp; vSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This now shows 'dan'.&lt;/P&gt;&lt;P&gt;When hitting the button the msgbox appears but still no data in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 11:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263057#M707708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-29T11:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263058#M707709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it must be something else, because the variable exists and gets the value. The following macro lines should do to check whether a variable is created has some content:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sub CheckVariable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET vCheck = ActiveDocument.Variables("vVariableNameHere")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(vCheck.GetContent.String)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should return the value of the variable "vVariableNameHere".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something in previous lines of macro is overwriting the variable value perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 11:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263058#M707709</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-29T11:28:22Z</dc:date>
    </item>
    <item>
      <title>Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263059#M707710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now we are talking.&lt;/P&gt;&lt;P&gt;I found the problem with the variabel at least.&lt;/P&gt;&lt;P&gt;I have two buttons, one that saves the variables and one that runs the macro.&lt;/P&gt;&lt;P&gt;I had to place the vSQL in both buttons. Not sure why, but now that part works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still cant get the code to run, but at least the variabel is now part of the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried these two lines&lt;/P&gt;&lt;P&gt;'GetEDXRequestString = "&amp;lt;Global method=""RequestEDX"" key=""" &amp;amp; strRequestKey &amp;amp;&amp;nbsp; """&amp;gt;&amp;lt;i_TaskIDOrTaskName&amp;gt;" &amp;amp; strTaskName &amp;amp; "&amp;lt;/i_TaskIDOrTaskName&amp;gt;&amp;lt;i_Password&amp;gt;" &amp;amp; strTaskPassword &amp;amp; "&amp;lt;/i_Password&amp;gt;&amp;lt;i_VariableName &amp;gt;vSQL&amp;lt;/i_VariableName &amp;gt;&amp;lt;i_VariableValueList &amp;gt;&amp;lt;string&amp;gt;" &amp;amp; varSQL.GetContent.String &amp;amp; "&amp;lt;/string&amp;gt;&amp;lt;/i_VariableValueList &amp;gt;&amp;lt;/Global&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetEDXRequestString = "&amp;lt;Global method=""RequestEDX"" key=""" &amp;amp; strRequestKey &amp;amp;&amp;nbsp; """&amp;gt;&amp;lt;i_TaskIDOrTaskName&amp;gt;" &amp;amp; strTaskName &amp;amp; "&amp;lt;/i_TaskIDOrTaskName&amp;gt;&amp;lt;i_Password&amp;gt;" &amp;amp; strTaskPassword &amp;amp; "&amp;lt;/i_Password&amp;gt;&amp;lt;i_VariableName &amp;gt;&amp;lt;/i_VariableName &amp;gt;&amp;lt;i_VariableValueList &amp;gt;&amp;lt;/i_VariableValueList &amp;gt;&amp;lt;/Global&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latter one works, but that one does not hold any info about the variable, so obviously it will not affect anything. But it runs.&lt;/P&gt;&lt;P&gt;I need to get the top one to run in some manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help and patience so far!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 11:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263059#M707710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-29T11:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263060#M707711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd use the same macro for both things. You can use the CALL to call another sub or function within a different sub, so although you have two different subs (one that sets the variable the other that runs the trigger) the main is called only once, and this calls to the one that sets the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sub SetVariable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET vSQL = ActiveDocument.Variables("vSQL")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vSQL.SetContent "Something", true&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub TriggerEDX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call SetVariable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '' You need to create the object in this function (it's private)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET vSQL = ActiveDocument.Variables("vSQL") &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '' This line shoud print the string Something&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(vSQL.GetContent.String) &lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 12:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263060#M707711</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-11-29T12:05:47Z</dc:date>
    </item>
    <item>
      <title>Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263061#M707712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;The code stores the vSQL value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I f I now get to solve the problem of actually running it I would be home free.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 14:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263061#M707712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-29T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables in GetContent</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263062#M707713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you know why this happends:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the last line I add varSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetEDXRequestString = "&amp;lt;Global method=""RequestEDX"" key=""" &amp;amp; strRequestKey &amp;amp;&amp;nbsp; """&amp;gt;&amp;lt;i_TaskIDOrTaskName&amp;gt;" &amp;amp; strTaskName &amp;amp; "&amp;lt;/i_TaskIDOrTaskName&amp;gt;&amp;lt;i_Password&amp;gt;" &amp;amp; strTaskPassword &amp;amp; "&amp;lt;/i_Password&amp;gt;&amp;lt;i_VariableName &amp;gt;&lt;STRONG&gt;varSQL&lt;/STRONG&gt;&amp;lt;/i_VariableName &amp;gt;&amp;lt;i_VariableValueList &amp;gt;&lt;STRONG&gt;&amp;lt;string&amp;gt;" &amp;amp; varSQL.GetContent.String &amp;amp; "&amp;lt;/string&amp;gt;&lt;/STRONG&gt;&amp;lt;/i_VariableValueList &amp;gt;&amp;lt;/Global&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives an error: Object required: 'varSQL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to add ﻿ActiveDocument.Reload at the bottom.&lt;/P&gt;&lt;P&gt;When running from server this works just fine, running from client does not work.&lt;/P&gt;&lt;P&gt;So it seems that what I need to make happend is that the edx should eb able to reload the document somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 10:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-in-GetContent/m-p/263062#M707713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-30T10:21:37Z</dc:date>
    </item>
  </channel>
</rss>

