<?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 LOOP THRU CUST# LIST BOX AND PRINT SHEET in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203862#M61029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, Thank you!&lt;/P&gt;&lt;P&gt;Hope to hear more from you as I get further into the learning curve.&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2009 00:28:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-02T00:28:10Z</dc:date>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203856#M61023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Want to automatically select each customer# in a LIST BOX and PRINT SHEET.&lt;/P&gt;&lt;P&gt;i.e. Select 1st Customer# and Print Sheet;&lt;/P&gt;&lt;P&gt;Select 2nd Customer# and Print Sheet;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;How is this done? &amp;gt; MACRO?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 23:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203856#M61023</guid>
      <dc:creator />
      <dc:date>2009-09-30T23:36:28Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203857#M61024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could find a similar example here:&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/p/20821/79887.aspx#79887&lt;/P&gt;&lt;P&gt;There we loop through an employees list box and export an object to excel. But you can replace the last lines of the macro with e. g.&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets(0).Print&lt;/P&gt;&lt;P&gt;(I didn't test latter, you should check APIGuide for correct syntax).&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 00:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203857#M61024</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-01T00:20:21Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203858#M61025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AWESOME!!!&lt;/P&gt;&lt;P&gt;Next&amp;gt; Want to:&lt;/P&gt;&lt;P&gt;1. Call QLIKVIEW from a DOS BATCH FILE with parameters&lt;/P&gt;&lt;P&gt;parm1: Doc Name&lt;/P&gt;&lt;P&gt;parm2: Customer Number&lt;/P&gt;&lt;P&gt;2. Open Doc; Select parm2 in Customer List Box; Print Sheet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 02:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203858#M61025</guid>
      <dc:creator />
      <dc:date>2009-10-01T02:08:10Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203859#M61026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the "Command Line Syntax" in the Ref Guide. The approach is roughly this:&lt;/P&gt;&lt;P&gt;qv.exe /vCustnum=123 mydoc.qvw&lt;/P&gt;&lt;P&gt;Assign an OnOpen macro to the doc that:&lt;/P&gt;&lt;P&gt;-Get's the value of the Custnum variable&lt;BR /&gt;-Makes the selection and prints the sheet.&lt;/P&gt;&lt;P&gt;Note that the variable "Custnum" must be defined in the qvw for the qvw to receive the value.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 04:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203859#M61026</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-10-01T04:33:11Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203860#M61027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to practice with variables:&lt;/P&gt;&lt;P&gt;Created List Box for field BRAND then,&lt;/P&gt;&lt;P&gt;1. Settings / Variable Overview &amp;gt; Added a variable named: vBRAND &amp;amp; assigned value ACUVUE 2&lt;/P&gt;&lt;P&gt;2. Displayed vBRAND in a List Box &amp;gt; Shows assigned value correctly.&lt;/P&gt;&lt;P&gt;3. Created Macro to make a selection in the BRAND List Box&lt;/P&gt;&lt;P&gt;Sub FOO400&lt;BR /&gt; ActiveDocument.Fields("BRAND").Clear&lt;BR /&gt; ActiveDocument.Fields("BRAND").Select(vBRAND)&lt;BR /&gt; end sub&lt;/P&gt;&lt;P&gt;Clear works but, nothing is selected! Using : Select ("ACUVUE 2") works fine&lt;/P&gt;&lt;P&gt;What is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 05:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203860#M61027</guid>
      <dc:creator />
      <dc:date>2009-10-01T05:23:15Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203861#M61028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;ben6711 wrote: ActiveDocument.Fields("BRAND").Select(vBRAND)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You can't reference the QV variable directly in the macro. You must use an API call to retrieve it's value:&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("BRAND").Select(&lt;STRONG&gt;ActiveDocument.GetVariable("vBRAND").GetContent.String&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;or not quite as precise, but less verbose:&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("BRAND").Select(&lt;STRONG&gt;ActiveDocument.Evaluate("vBRAND")&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 10:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203861#M61028</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-10-01T10:58:09Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203862#M61029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, Thank you!&lt;/P&gt;&lt;P&gt;Hope to hear more from you as I get further into the learning curve.&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2009 00:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203862#M61029</guid>
      <dc:creator />
      <dc:date>2009-10-02T00:28:10Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203863#M61030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RE: MACRO "FOO400b"&lt;/P&gt;&lt;P&gt;WORKS WHEN: 1. CALLED BY BUTTON&lt;/P&gt;&lt;P&gt;2. "OnOpen"&lt;/P&gt;&lt;P&gt;PROBLEMS WHEN CALLED FROM DOS COMMAND LINE:&lt;/P&gt;&lt;P&gt;1. D:\ qv.exe /vMyVarBRAND=ACUVUE D:\BEN01\QLIKVIEW\TABLEAU LaunchPad.qvw&lt;/P&gt;&lt;P&gt;ACUVUE IS SELECTED CORRECTLY IN LIST BOX BUT, NO PRINTING&lt;/P&gt;&lt;P&gt;2. D:\qv.exe /vMyVarBRAND=ACUVUE 2 D:\BEN01\QLIKVIEW\TABLEAU LaunchPad.qvw&lt;/P&gt;&lt;P&gt;DOC FAILS TO OPEN; TRIED: 'ACUVUE 2' and "ACUVUE 2" &amp;gt; NO SUCCESS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sub FOO400b&lt;BR /&gt; ActiveDocument.Fields("BRAND").Clear&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.Fields("BRAND").Select(ActiveDocument.Evaluate("MyVarBRAND"))&lt;BR /&gt;&lt;BR /&gt; activedocument.sheets("SH01").Printout&lt;BR /&gt; end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2009 03:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203863#M61030</guid>
      <dc:creator />
      <dc:date>2009-10-03T03:18:44Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203864#M61031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your qvw filename argument has a space in it, enclose the argument in double quotes.&lt;/P&gt;&lt;P&gt;"D:\BEN01\QLIKVIEW\TABLEAU LaunchPad.qvw"&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2009 06:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203864#M61031</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-10-03T06:26:35Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203865#M61032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! Can now successfully pass "ACUVUE 2"&lt;/P&gt;&lt;P&gt;Still have problem#1 &amp;gt; Print instruction not executed when Qlikview is started from DOS Command Line:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;activedocument.sheets("SH01").Printout&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Printing does happen when the macro is called by a button or, on Document Open!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2009 23:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203865#M61032</guid>
      <dc:creator />
      <dc:date>2009-10-05T23:36:29Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203866#M61033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;ben6711 wrote:on Document Open&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I think you'll have to do the printing in the Document Open macro. That makes sense to me.&lt;/P&gt;&lt;P&gt;Also you should probably have:&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;before the print call.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 07:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203866#M61033</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-10-07T07:47:36Z</dc:date>
    </item>
    <item>
      <title>LOOP THRU CUST# LIST BOX AND PRINT SHEET</title>
      <link>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203867#M61034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle did the trick!&lt;/P&gt;&lt;P&gt;-I use a PDF Print driver ("ScanSoft PDF Create" from Scan Soft PDF CONVERTER)&lt;/P&gt;&lt;P&gt;to create a PDF document when I "print" each sheet.&lt;/P&gt;&lt;P&gt;Can the passed variable appear as true text which Acrobat Reader can search on?&lt;/P&gt;&lt;P&gt;Currently generated PDF's are apparently graphics and Acrobat Reader has nothing to search on.&lt;/P&gt;&lt;P&gt;(Yes, I really need to do this)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 00:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOOP-THRU-CUST-LIST-BOX-AND-PRINT-SHEET/m-p/203867#M61034</guid>
      <dc:creator />
      <dc:date>2009-10-08T00:05:36Z</dc:date>
    </item>
  </channel>
</rss>

