<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Finally an easy way to print to text, or word</title><link>https://www.infopathdev.com:443/forums/thread/20367.aspx</link><pubDate>Mon, 04 Jun 2007 17:10:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20367</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20367.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20367</wfw:commentRss><description>&lt;p&gt;Hi SShariq and welcome to the forum!&lt;/p&gt;&lt;p&gt;I hate to&amp;nbsp;break it to you, but printing from InfoPath has always been very painful! There really is no easy way to do it.&amp;nbsp; What you could try is shredding your XML forms into a relational database with our DBXL tool, and then creating a SQL Report on top of this.&amp;nbsp; However, this is still not terribly easy.&lt;/p&gt;&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Re: Finally an easy way to print to text, or word</title><link>https://www.infopathdev.com:443/forums/thread/20355.aspx</link><pubDate>Mon, 04 Jun 2007 14:34:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20355</guid><dc:creator>SShariq</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20355.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20355</wfw:commentRss><description>&lt;p&gt;Matt,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am new to InfoPath. How do I keep the rows in repeating tables or repeating tables themselves breaking over across the pages. I saw your one of your suggestions on this subject, and it seemed a bit diffiult, as I have no programming experience. Is there an easier way? &lt;/p&gt;</description></item><item><title>Re: Finally an easy way to print to text, or word</title><link>https://www.infopathdev.com:443/forums/thread/19527.aspx</link><pubDate>Wed, 02 May 2007 16:06:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19527</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19527.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19527</wfw:commentRss><description>Hi trufooser,
&lt;br /&gt;&lt;br /&gt;
Thanks a lot for this cool code sample! Printing InfoPath forms has always been a pain, and this should make it much easier! Thanks again.</description></item><item><title>Finally an easy way to print to text, or word</title><link>https://www.infopathdev.com:443/forums/thread/18331.aspx</link><pubDate>Tue, 12 Sep 2006 21:28:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18331</guid><dc:creator>trufooser</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18331.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18331</wfw:commentRss><description>Ive spent the past couple weeks kinda seeing what was out there, having minimal programming experience made it kind of difficult.  However, I feel I have come up with a better way to print things to a file.  Currently, I am printing to notepad, but I think it can easily be changed to word.&lt;br /&gt;&lt;br /&gt;I used 2 access test tables to look at the feasibility of doing it 'my way'.&lt;br /&gt;&lt;br /&gt;The structure is as follows:&lt;br /&gt;&lt;br /&gt;+Table1&lt;br /&gt;    Table1ID&lt;br /&gt;    Table1Field&lt;br /&gt;&lt;br /&gt;    +Table2&lt;br /&gt;        Table2ID&lt;br /&gt;        Table2Field&lt;br /&gt;&lt;br /&gt;Using VBScript, I inserted the following code into a button.&lt;br /&gt;&lt;br /&gt;&lt;font color="blue"&gt;Sub CTRL129_21_OnClick(eventObj)&lt;br /&gt;&lt;br /&gt;	Const iTempFolder = 2&lt;br /&gt;	Dim oFS, oTempFolder, sFile, oTempFile, wshShell&lt;br /&gt;	Dim sRun, sTemp&lt;br /&gt;&lt;br /&gt;	Set oFS = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;	Set oTempFolder = oFS.GetSpecialFolder(iTempFolder)&lt;br /&gt;	sFile = oFS.GetTempName&lt;br /&gt;&lt;br /&gt;	sTemp = oFS.GetSpecialFolder(iTempFolder)&lt;br /&gt;	If Right(sTemp,1) &amp;lt;&amp;gt; "\" Then&lt;br /&gt;	sTemp = sTemp &amp; "\" &amp; sFile&lt;br /&gt;	Else&lt;br /&gt;	sTemp = sTemp &amp; sFile&lt;br /&gt;	End If&lt;br /&gt;&lt;br /&gt;	Set oTempFile = oTempFolder.CreateTextFile(sFile)&lt;br /&gt;&lt;br /&gt;        dim activeNode, numberNodesL1, numberNodesL2&lt;br /&gt;&lt;br /&gt;        numberNodesL1 = XDocument.DOM.selectNodes("//d:Table1").length&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        for i = 1 to numberNodesL1&lt;br /&gt;                activeNode = "//d:Table1[" &amp; i &amp; "]/"&lt;br /&gt;                oTempFile.WriteLine XDocument.DOM.selectSingleNode(activeNode &amp; "@Table1Field").text&lt;br /&gt;                numberNodesL2 = XDocument.DOM.selectNodes(activeNode &amp; "/d:Table2").length&lt;br /&gt;                &lt;br /&gt;                for j = 1 to numberNodes2&lt;br /&gt;                        activeNode = "//d:Table1[" &amp; i &amp; "]/d:Table2[" &amp; j &amp; "]/"&lt;br /&gt;                        oTempFile.WriteLine "     " + XDocument.DOM.selectSingleNode(activeNode &amp; "@Table2Field").text&lt;br /&gt;                next&lt;br /&gt;        next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	Set wshShell = Createobject("WScript.Shell")&lt;br /&gt;	sRun = "notepad.exe " &amp; sTemp&lt;br /&gt;	wshShell.Run sRun&lt;br /&gt;	wshShell.AppActivate "NotePad"&lt;br /&gt;&lt;br /&gt;End Sub&lt;/font id="blue"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This code was written for two tables, but can easily be extended indefinatly by adding a &lt;i&gt;numberNodesL&lt;/i&gt; variable and coding in a new for loop.&lt;br /&gt;&lt;br /&gt;In my humble opinion, much much easier than the Word wizard.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Oh, and by the way, YOU'RE welcome - a little SNL humor there.&lt;br /&gt;</description></item></channel></rss>