<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Custom Page Numbers in PDFs and Printed Reports</title>
	<link>http://sixfriedrice.com/wp/custom-page-numbers-in-pdfs-and-printed-reports/</link>
	<description>smart business solutions</description>
	<pubDate>Thu, 28 Aug 2008 17:53:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/custom-page-numbers-in-pdfs-and-printed-reports/#comment-216</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Thu, 19 Jul 2007 15:28:35 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/custom-page-numbers-in-pdfs-and-printed-reports/#comment-216</guid>
		<description>&lt;p&gt;@david: Thanks for the sample. Also, I revised the text to make it more clear that you need a &lt;code&gt;Page Number&lt;/code&gt; field in each table. Thanks for that too :)&lt;/p&gt;

&lt;p&gt;But the &lt;code&gt;Page Start&lt;/code&gt; field is global, so you only need one of those. We typically have a &lt;code&gt;Global&lt;/code&gt; table in each database where we tuck away stuff like this that is not associated with anything in particular.&lt;/p&gt;

&lt;p&gt;And yes, absolutely you can use a global variable for &lt;code&gt;Page Count&lt;/code&gt;. That's a super idea so long as you're not bouncing from one database to another. But you &lt;em&gt;can't&lt;/em&gt; use a variable for &lt;code&gt;Page Number&lt;/code&gt; and &lt;code&gt;Page Count&lt;/code&gt; because you can't put a variable on a layout.&lt;/p&gt;

&lt;p&gt;For various reasons, I tend to favor global fields over global variables for things like this, but lots of people disagree with me :) YMMV.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@david: Thanks for the sample. Also, I revised the text to make it more clear that you need a <code>Page Number</code> field in each table. Thanks for that too <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But the <code>Page Start</code> field is global, so you only need one of those. We typically have a <code>Global</code> table in each database where we tuck away stuff like this that is not associated with anything in particular.</p>
<p>And yes, absolutely you can use a global variable for <code>Page Count</code>. That&#8217;s a super idea so long as you&#8217;re not bouncing from one database to another. But you <em>can&#8217;t</em> use a variable for <code>Page Number</code> and <code>Page Count</code> because you can&#8217;t put a variable on a layout.</p>
<p>For various reasons, I tend to favor global fields over global variables for things like this, but lots of people disagree with me <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> YMMV.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Head</title>
		<link>http://sixfriedrice.com/wp/custom-page-numbers-in-pdfs-and-printed-reports/#comment-214</link>
		<dc:creator>David Head</dc:creator>
		<pubDate>Thu, 19 Jul 2007 06:18:39 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/custom-page-numbers-in-pdfs-and-printed-reports/#comment-214</guid>
		<description>&lt;p&gt;Me again! ;-)&lt;/p&gt;

&lt;p&gt;I would assume that the customer, order and quote list layouts are all based on different tables. So you will be needing a PageStart and PageNumber field in each table. &lt;/p&gt;

&lt;p&gt;You will also need to be storing the current page count in a variable to pass it between tables. In fact it may be better to be storing the running page count in a variable and then using that in a PageNumber calculation. Saves one field per table. Or two fields if you want to do the x of y page display.&lt;/p&gt;

&lt;p&gt;I have prepared a sample file that can be accessed at:
http://www.ulearnit.com.au/filemaker/append.zip&lt;/p&gt;

&lt;blockquote&gt;ed: the link was incorrect before, and has been fixed as of 29-July-2007.&lt;/blockquote&gt;
</description>
		<content:encoded><![CDATA[<p>Me again! <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I would assume that the customer, order and quote list layouts are all based on different tables. So you will be needing a PageStart and PageNumber field in each table. </p>
<p>You will also need to be storing the current page count in a variable to pass it between tables. In fact it may be better to be storing the running page count in a variable and then using that in a PageNumber calculation. Saves one field per table. Or two fields if you want to do the x of y page display.</p>
<p>I have prepared a sample file that can be accessed at:<br />
<a href="http://www.ulearnit.com.au/filemaker/append.zip" rel="nofollow">http://www.ulearnit.com.au/filemaker/append.zip</a></p>
<blockquote><p>ed: the link was incorrect before, and has been fixed as of 29-July-2007.</p></blockquote>
]]></content:encoded>
	</item>
</channel>
</rss>
