<?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 Write information on text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188107#M51505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works fine!!!&lt;/P&gt;&lt;P&gt;Thanks a lot for the precious help!!! I could not get it by myself.....&lt;/P&gt;&lt;P&gt;Carlo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2009 00:35:44 GMT</pubDate>
    <dc:creator>kaicpa2</dc:creator>
    <dc:date>2009-12-16T00:35:44Z</dc:date>
    <item>
      <title>Write information on text object</title>
      <link>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188105#M51503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;I have a little problem.&lt;/P&gt;&lt;P&gt;I am trying to wirte in a text object via macro the "last modified date" of one file&lt;/P&gt;&lt;P&gt;Despite all my effort I was not able to do it. I add below the code I used&lt;/P&gt;&lt;P&gt;Is it possible to do the above task directly in the script so as to have the above when I do the Reload&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;Carlo Pazzaglia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Sub MyInfo&lt;BR /&gt;Dim FilePath,MyObjectFile&lt;BR /&gt;FilePath= "C:\Documents and Settings\KAICPA2\Desktop\My.qvd"&lt;BR /&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;set MyObjectFile= fso.GetFile (FilePath)&lt;BR /&gt;ActiveDocument.GetSheetObject( "TX08" ).GetText = MyObjectFile.DateLastModified&lt;BR /&gt;end sub&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 21:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188105#M51503</guid>
      <dc:creator>kaicpa2</dc:creator>
      <dc:date>2009-12-15T21:22:00Z</dc:date>
    </item>
    <item>
      <title>Write information on text object</title>
      <link>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188106#M51504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlo&lt;/P&gt;&lt;P&gt;This won't work because you're trying to use GetText method to set text, try something like the following to replace your last line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Set MyText = ActiveDocument.GetSheetObject("TX08")&lt;BR /&gt;prop = MyText.GetProperties&lt;BR /&gt;prop.Layout.Text.v = MyObjectFile.DateLastMadified&lt;BR /&gt;MyText.SetProperties prop&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Note: I haven't tested this, but it should work!&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 00:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188106#M51504</guid>
      <dc:creator />
      <dc:date>2009-12-16T00:07:58Z</dc:date>
    </item>
    <item>
      <title>Write information on text object</title>
      <link>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188107#M51505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works fine!!!&lt;/P&gt;&lt;P&gt;Thanks a lot for the precious help!!! I could not get it by myself.....&lt;/P&gt;&lt;P&gt;Carlo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 00:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188107#M51505</guid>
      <dc:creator>kaicpa2</dc:creator>
      <dc:date>2009-12-16T00:35:44Z</dc:date>
    </item>
    <item>
      <title>Write information on text object</title>
      <link>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188108#M51506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about setting a variable in the script using QV functions instead?&lt;/P&gt;&lt;P&gt;LET vFiletime = FileTime('C:\Documents and Settings\KAICPA2\Desktop\My.qvd');&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;LET vFiletime = QvdCreateTime('C:\Documents and Settings\KAICPA2\Desktop\My.qvd');&lt;/P&gt;&lt;P&gt;And then in your TextBox:&lt;/P&gt;&lt;P&gt;=$(vFiletime)&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 04:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188108#M51506</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-12-16T04:02:23Z</dc:date>
    </item>
    <item>
      <title>Write information on text object</title>
      <link>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188109#M51507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;This is the second piece of information I was looking for!&lt;/P&gt;&lt;P&gt;Now with both solution I am able to choose from case to case.&lt;/P&gt;&lt;P&gt;Thanks one more to all of you&lt;/P&gt;&lt;P&gt;Carlo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 16:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Write-information-on-text-object/m-p/188109#M51507</guid>
      <dc:creator>kaicpa2</dc:creator>
      <dc:date>2009-12-16T16:31:43Z</dc:date>
    </item>
  </channel>
</rss>

