<?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 macro transform variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187141#M50943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I posted works .&lt;/P&gt;&lt;P&gt;In the code I posted I wont to convert the variable I create to a field bot from SQL but From VB script.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;bestrgrds,&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2009 18:56:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-15T18:56:41Z</dc:date>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187139#M50941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can I transform this variable in a field? by API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("gg")&lt;BR /&gt;v.SetContent "4" , true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Slash [:)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 17:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187139#M50941</guid>
      <dc:creator />
      <dc:date>2009-09-15T17:26:47Z</dc:date>
    </item>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187140#M50942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what you're asking, it appears to me like you have the code there already, what is it that you cannot do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 18:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187140#M50942</guid>
      <dc:creator />
      <dc:date>2009-09-15T18:00:12Z</dc:date>
    </item>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187141#M50943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I posted works .&lt;/P&gt;&lt;P&gt;In the code I posted I wont to convert the variable I create to a field bot from SQL but From VB script.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;bestrgrds,&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 18:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187141#M50943</guid>
      <dc:creator />
      <dc:date>2009-09-15T18:56:41Z</dc:date>
    </item>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187142#M50944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, now I understand your question.&lt;/P&gt;&lt;P&gt;Does your variable have a specific set number of values, i.e. are the options fixed, or can the user type in anything they want to?&lt;/P&gt;&lt;P&gt;If it is a fixed number of options then what I use is a LOAD * INLINE function in the script to create a field that is not linked to the remainder of my data model, this will allow me to build list boxes that the user can select from. Having said that, you can do the same thing anyway with variables by creating a specific list for the variable to choose from.&lt;/P&gt;&lt;P&gt;I don't know of any way to actually create a field in the data model using a macro, although it might be possible, it would be possible to add to options in an existing field!&lt;/P&gt;&lt;P&gt;You probably need to explain a little more about what you are trying to achieve, why you are doing it that way etc, often there are different approaches that can work just as well.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 19:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187142#M50944</guid>
      <dc:creator />
      <dc:date>2009-09-15T19:21:54Z</dc:date>
    </item>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187143#M50945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. I understand.&lt;/P&gt;&lt;P&gt;If I create this inline:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;val&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;I created one field called val. Now Can I transform in VB S the variable in field?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regrds&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 20:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187143#M50945</guid>
      <dc:creator />
      <dc:date>2009-09-15T20:06:33Z</dc:date>
    </item>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187144#M50946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Slash,&lt;BR /&gt;The difference between variables and fields:&lt;BR /&gt;Variable is a named piece of data that has one and only one value at any given moment. The value can be set manually or in the script or by macro.&lt;BR /&gt;Field is as set of values (maybe one, or even none). Values in the field can be selected or not. Selection can be made manually or by a macro. The set of values in the field can be changed only by reload, as far as I know. (I'm intentially leaving aside dynamic update.)&lt;BR /&gt;I hope it will help you to better fromulate your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 20:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187144#M50946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-15T20:15:05Z</dc:date>
    </item>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187145#M50947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jey Iknow the difference .&lt;/P&gt;&lt;P&gt;I ave to convert a variable build just 1 record in one field build hust one record. I know is possible in sql .&lt;/P&gt;&lt;H2&gt;If I have a variable calle d=0&lt;/H2&gt;&lt;H2&gt;I can convert it to a field A =0&lt;/H2&gt;&lt;H2&gt;JUST one record.&lt;/H2&gt;&lt;P&gt;However I solved .&lt;/P&gt;&lt;P&gt;byse and thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 20:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187145#M50947</guid>
      <dc:creator />
      <dc:date>2009-09-15T20:47:18Z</dc:date>
    </item>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187146#M50948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 19:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187146#M50948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-16T19:26:58Z</dc:date>
    </item>
    <item>
      <title>macro transform variable</title>
      <link>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187147#M50949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I hate to hijack the thread, but I cannot see anyything else that fits my query...&lt;/P&gt;&lt;P&gt;I want to create an intput field that will allow a max of 50 inputs from the web user. I then want them to be able to call them up by a macro button .&lt;/P&gt;&lt;P&gt;So simply - enter a customer details that have to be called back before close of shift. I know that if the PC goes off they lose the data as it's just in the buffer. But it means they don't need paper and pen.&lt;/P&gt;&lt;P&gt;Possible??&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 15:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/macro-transform-variable/m-p/187147#M50949</guid>
      <dc:creator />
      <dc:date>2010-03-12T15:09:16Z</dc:date>
    </item>
  </channel>
</rss>

