<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>The Corson Clan</title>
    <link>http://www.corsons.net/blog/</link>
    <description>Blog for Nathan Corson</description>
    <language>en-us</language>
    <copyright>Nathan Corson</copyright>
    <lastBuildDate>Thu, 05 Aug 2010 21:36:19 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.1.8102.813</generator>
    <managingEditor>nathan@corsons.net</managingEditor>
    <webMaster>nathan@corsons.net</webMaster>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=ee046534-90c8-4c66-af4c-a2043faded0b</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,ee046534-90c8-4c66-af4c-a2043faded0b.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,ee046534-90c8-4c66-af4c-a2043faded0b.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=ee046534-90c8-4c66-af4c-a2043faded0b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
For a 5mm margin is 275px
</p>
        <ul>
          <li>
Change in the %systemroot%\system32\spool\drivers\w32x86\3\DW5TM.gpd the following
values For Letter and Legal size Original</li>
          <br />
Legal 
<br />
*PrintableArea: PAIR(10200, 16800) 
<br />
*PrintableOrigin: PAIR(0, 0) 
<br /><br /><br />
Letter 
<br />
*PrintableArea: PAIR(10200, 13200) 
<br />
*PrintableOrigin: PAIR(0, 0) 
<br /><br /><br />
Modified 
<br />
Legal 
<br />
*PrintableArea: PAIR(9925, 16525) 
<br />
*PrintableOrigin: PAIR(275, 275) 
<br /><br /><br />
Letter 
<br />
*PrintableArea: PAIR(9925, 12925)<br />
*PrintableOrigin: PAIR(275, 275) 
<br /><br /><li>
Save Delete the file: %systemroot%\system32\spool\drivers\w32x86\3\DW5TM.bud 
</li><li>
Restart the print spooler</li></ul>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=ee046534-90c8-4c66-af4c-a2043faded0b" />
      </body>
      <title>Adjust DocuWare TIFFMAKER Printer Margins</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,ee046534-90c8-4c66-af4c-a2043faded0b.aspx</guid>
      <link>http://www.corsons.net/blog/2010/08/05/AdjustDocuWareTIFFMAKERPrinterMargins.aspx</link>
      <pubDate>Thu, 05 Aug 2010 21:36:19 GMT</pubDate>
      <description>&lt;p&gt;
For a 5mm margin is 275px
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Change in the %systemroot%\system32\spool\drivers\w32x86\3\DW5TM.gpd the following
values For Letter and Legal size Original&lt;/li&gt;
&lt;br&gt;
Legal 
&lt;br&gt;
*PrintableArea: PAIR(10200, 16800) 
&lt;br&gt;
*PrintableOrigin: PAIR(0, 0) 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Letter 
&lt;br&gt;
*PrintableArea: PAIR(10200, 13200) 
&lt;br&gt;
*PrintableOrigin: PAIR(0, 0) 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Modified 
&lt;br&gt;
Legal 
&lt;br&gt;
*PrintableArea: PAIR(9925, 16525) 
&lt;br&gt;
*PrintableOrigin: PAIR(275, 275) 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Letter 
&lt;br&gt;
*PrintableArea: PAIR(9925, 12925)&lt;br&gt;
*PrintableOrigin: PAIR(275, 275) 
&lt;br&gt;
&lt;br&gt;
&lt;li&gt;
Save Delete the file: %systemroot%\system32\spool\drivers\w32x86\3\DW5TM.bud 
&lt;/li&gt;
&lt;li&gt;
Restart the print spooler&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=ee046534-90c8-4c66-af4c-a2043faded0b" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,ee046534-90c8-4c66-af4c-a2043faded0b.aspx</comments>
      <category>DocuWare</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=49e966e5-e295-4073-92fc-e9b383d14178</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,49e966e5-e295-4073-92fc-e9b383d14178.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,49e966e5-e295-4073-92fc-e9b383d14178.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=49e966e5-e295-4073-92fc-e9b383d14178</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">If you get an error referencing memry when
closing DocuWare, remove Microsoft KB976576. This is listed under the add/remove programs
under .Net 2.0 SP2.<img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=49e966e5-e295-4073-92fc-e9b383d14178" /></body>
      <title>Docuware Client Memory Error when closing client</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,49e966e5-e295-4073-92fc-e9b383d14178.aspx</guid>
      <link>http://www.corsons.net/blog/2010/08/02/DocuwareClientMemoryErrorWhenClosingClient.aspx</link>
      <pubDate>Mon, 02 Aug 2010 17:02:36 GMT</pubDate>
      <description>If you get an error referencing memry when closing DocuWare, remove Microsoft KB976576. This is listed under the add/remove programs under .Net 2.0 SP2.&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=49e966e5-e295-4073-92fc-e9b383d14178" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,49e966e5-e295-4073-92fc-e9b383d14178.aspx</comments>
      <category>DocuWare</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=ce98cdac-09f6-4178-9fe5-59cd86056eec</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,ce98cdac-09f6-4178-9fe5-59cd86056eec.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,ce98cdac-09f6-4178-9fe5-59cd86056eec.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=ce98cdac-09f6-4178-9fe5-59cd86056eec</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Possible Errors when updating and Fixes
</p>
        <ol>
          <li>
With Stapleware Notification Manager you may get an error "Invalid Assembly Version
5.1.2.1370. Authentication Server version 5.1.2.1568" - FIX Reinstall the module using
the repair option. 
</li>
          <li>
DocuWare Client failed to create a COM instance. - FIX re-run the DocuWare Client
update. 
</li>
        </ol>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=ce98cdac-09f6-4178-9fe5-59cd86056eec" />
      </body>
      <title>DocuWare 5.1b SP2 Update Errors and Fixes</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,ce98cdac-09f6-4178-9fe5-59cd86056eec.aspx</guid>
      <link>http://www.corsons.net/blog/2009/07/30/DocuWare51bSP2UpdateErrorsAndFixes.aspx</link>
      <pubDate>Thu, 30 Jul 2009 20:46:01 GMT</pubDate>
      <description>&lt;p&gt;
Possible Errors when updating and Fixes
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
With Stapleware Notification Manager you may get an error "Invalid Assembly Version
5.1.2.1370. Authentication Server version 5.1.2.1568" - FIX Reinstall the module using
the repair option. 
&lt;li&gt;
DocuWare Client failed to create a COM instance. - FIX re-run the DocuWare Client
update. 
&lt;/li&gt;
&lt;/ol&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=ce98cdac-09f6-4178-9fe5-59cd86056eec" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,ce98cdac-09f6-4178-9fe5-59cd86056eec.aspx</comments>
      <category>DocuWare</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=90e36994-552f-4349-a749-8f6b88282466</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,90e36994-552f-4349-a749-8f6b88282466.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,90e36994-552f-4349-a749-8f6b88282466.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=90e36994-552f-4349-a749-8f6b88282466</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
In order to import email in a message format you will need to create a transport rule
for inbound and outbound email. If you create a journal rule, as in the case for Exchange
2003, the emails will be imported in an archive format with the original email as
an attachment and the email address coming from a generic email.
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=90e36994-552f-4349-a749-8f6b88282466" />
      </body>
      <title>DocuWare 5.1b Import Email from Exchange 2007</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,90e36994-552f-4349-a749-8f6b88282466.aspx</guid>
      <link>http://www.corsons.net/blog/2009/07/28/DocuWare51bImportEmailFromExchange2007.aspx</link>
      <pubDate>Tue, 28 Jul 2009 14:04:12 GMT</pubDate>
      <description>&lt;p&gt;
In order to import email in a message format you will need to create a transport rule
for inbound and outbound email. If you create a journal rule, as in the case for Exchange
2003, the emails will be imported in an archive format with the original email as
an attachment and the email address coming from a generic email.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=90e36994-552f-4349-a749-8f6b88282466" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,90e36994-552f-4349-a749-8f6b88282466.aspx</comments>
      <category>DocuWare</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=8a66bd31-a3dc-47c5-a293-adfc76cf05aa</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,8a66bd31-a3dc-47c5-a293-adfc76cf05aa.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,8a66bd31-a3dc-47c5-a293-adfc76cf05aa.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8a66bd31-a3dc-47c5-a293-adfc76cf05aa</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Run the dwreg2.exe to fix the issue.
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=8a66bd31-a3dc-47c5-a293-adfc76cf05aa" />
      </body>
      <title>COM Instance error in DocuWare Client</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,8a66bd31-a3dc-47c5-a293-adfc76cf05aa.aspx</guid>
      <link>http://www.corsons.net/blog/2009/05/11/COMInstanceErrorInDocuWareClient.aspx</link>
      <pubDate>Mon, 11 May 2009 22:24:45 GMT</pubDate>
      <description>&lt;p&gt;
Run the dwreg2.exe to fix the issue.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=8a66bd31-a3dc-47c5-a293-adfc76cf05aa" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,8a66bd31-a3dc-47c5-a293-adfc76cf05aa.aspx</comments>
      <category>DocuWare</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=0cd74e1e-5975-447b-b659-960a67d8b038</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,0cd74e1e-5975-447b-b659-960a67d8b038.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,0cd74e1e-5975-447b-b659-960a67d8b038.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0cd74e1e-5975-447b-b659-960a67d8b038</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
To set scroll bars for DocuWare Web Client instead of using pages, set the following
in the designer:
</p>
        <p>
Cell - No wrap
</p>
        <p>
Pager - Page size 250, ax page size 250, link 10, align center
</p>
        <p>
Table - Fixed 175pt and set sorting to whatever you want.
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=0cd74e1e-5975-447b-b659-960a67d8b038" />
      </body>
      <title>Set scroll bars for DocuWare Web Client instead of using pages</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,0cd74e1e-5975-447b-b659-960a67d8b038.aspx</guid>
      <link>http://www.corsons.net/blog/2008/11/04/SetScrollBarsForDocuWareWebClientInsteadOfUsingPages.aspx</link>
      <pubDate>Tue, 04 Nov 2008 20:45:39 GMT</pubDate>
      <description>&lt;p&gt;
To set scroll bars for DocuWare Web Client instead of using pages, set the following
in the designer:
&lt;/p&gt;
&lt;p&gt;
Cell - No wrap
&lt;/p&gt;
&lt;p&gt;
Pager - Page size 250, ax page size 250, link 10, align center
&lt;/p&gt;
&lt;p&gt;
Table - Fixed 175pt and set sorting to whatever you want.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=0cd74e1e-5975-447b-b659-960a67d8b038" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,0cd74e1e-5975-447b-b659-960a67d8b038.aspx</comments>
      <category>DocuWare</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=cd5f7fd0-3d79-449b-a726-4428b1e41326</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,cd5f7fd0-3d79-449b-a726-4428b1e41326.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,cd5f7fd0-3d79-449b-a726-4428b1e41326.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=cd5f7fd0-3d79-449b-a726-4428b1e41326</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Use despeckle blocks to indicate where people should write each character. "A Guide
to Creating Machine-Readable Forms" recommends raster dots .39 pixels, and five times
that space between each dot.
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=cd5f7fd0-3d79-449b-a726-4428b1e41326" />
      </body>
      <title>Form Design in Word</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,cd5f7fd0-3d79-449b-a726-4428b1e41326.aspx</guid>
      <link>http://www.corsons.net/blog/2008/10/23/FormDesignInWord.aspx</link>
      <pubDate>Thu, 23 Oct 2008 19:05:32 GMT</pubDate>
      <description>&lt;p&gt;
Use despeckle blocks to indicate where people should write each character. "A Guide
to Creating Machine-Readable Forms" recommends raster dots .39 pixels, and five times
that space between each dot.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=cd5f7fd0-3d79-449b-a726-4428b1e41326" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,cd5f7fd0-3d79-449b-a726-4428b1e41326.aspx</comments>
      <category>ABBYY</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=175b7abb-c1b4-4ea2-b2f9-2d2f669c3223</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,175b7abb-c1b4-4ea2-b2f9-2d2f669c3223.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,175b7abb-c1b4-4ea2-b2f9-2d2f669c3223.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=175b7abb-c1b4-4ea2-b2f9-2d2f669c3223</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <div class="content">
          <p>
Many useful libraries are included in the standard VBScript and JScript languages.
There are libraries for regular expressions, string manipulation, math, and much more.
</p>
          <p>
There are also libraries for connecting to databases. And while there is a FC8 Database
Check rule, often you will want to customize its behavior. You can do that by connecting
to the database with vbscript and adjusting the logic as you need. Here is an example
of connecting to a Microsoft Access Database and populating the result to a suggestion
box.
</p>
          <p>
FC8:<br />
Dim conn<br />
Dim rs<br />
Dim strSQLQuery<br />
Dim arrayRows
</p>
        </div>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=175b7abb-c1b4-4ea2-b2f9-2d2f669c3223" />
      </body>
      <title>Querying Databases inside FlexiCapture 8 rules</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,175b7abb-c1b4-4ea2-b2f9-2d2f669c3223.aspx</guid>
      <link>http://www.corsons.net/blog/2008/10/22/QueryingDatabasesInsideFlexiCapture8Rules.aspx</link>
      <pubDate>Wed, 22 Oct 2008 19:04:13 GMT</pubDate>
      <description>&lt;div class=content&gt;
&lt;p&gt;
Many useful libraries are included in the standard VBScript and JScript languages.
There are libraries for regular expressions, string manipulation, math, and much more.
&lt;/p&gt;
&lt;p&gt;
There are also libraries for connecting to databases. And while there is a FC8 Database
Check rule, often you will want to customize its behavior. You can do that by connecting
to the database with vbscript and adjusting the logic as you need. Here is an example
of connecting to a Microsoft Access Database and populating the result to a suggestion
box.
&lt;/p&gt;
&lt;p&gt;
FC8:&lt;br&gt;
Dim conn&lt;br&gt;
Dim rs&lt;br&gt;
Dim strSQLQuery&lt;br&gt;
Dim arrayRows
&lt;/p&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=175b7abb-c1b4-4ea2-b2f9-2d2f669c3223" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,175b7abb-c1b4-4ea2-b2f9-2d2f669c3223.aspx</comments>
      <category>ABBYY</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=f66d2a4d-69ad-4f47-a43a-64ee13e59c38</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,f66d2a4d-69ad-4f47-a43a-64ee13e59c38.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,f66d2a4d-69ad-4f47-a43a-64ee13e59c38.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=f66d2a4d-69ad-4f47-a43a-64ee13e59c38</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
var ItemsCount = Field(“Total”).Items.Count;<br />
var Sum = 0;<br />
Field(“TotalAmount”).Value = Field(“TotalAmount”).Value.replace(” “,”“);<br />
for( i = 0; i     Field(“Total”).Items.Item(i).Value = Field(“Total”).Items.Item(i).Value.replace(”
“,”“);<br />
    Sum = Sum + parseFloat(Field(“Total”).Items.Item(i).Value);<br />
}<br />
if (Sum != parseFloat(Field(“TotalAmount”).Value)) {<br />
    CheckSucceeded = false;<br />
    ErrorMessage = “Sum of values in Total column doesn’t match TotalAmount
value”;   
<br />
    Field(“TotalAmount”).Suggest( Sum );<br />
}<br />
else {<br />
    CheckSucceeded = true;<br />
}
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=f66d2a4d-69ad-4f47-a43a-64ee13e59c38" />
      </body>
      <title>Table Check Sum</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,f66d2a4d-69ad-4f47-a43a-64ee13e59c38.aspx</guid>
      <link>http://www.corsons.net/blog/2008/09/02/TableCheckSum.aspx</link>
      <pubDate>Tue, 02 Sep 2008 15:45:37 GMT</pubDate>
      <description>&lt;p&gt;
var ItemsCount = Field(“Total”).Items.Count;&lt;br&gt;
var Sum = 0;&lt;br&gt;
Field(“TotalAmount”).Value = Field(“TotalAmount”).Value.replace(” “,”“);&lt;br&gt;
for( i = 0; i&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field(“Total”).Items.Item(i).Value = Field(“Total”).Items.Item(i).Value.replace(”
“,”“);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum = Sum + parseFloat(Field(“Total”).Items.Item(i).Value);&lt;br&gt;
}&lt;br&gt;
if (Sum != parseFloat(Field(“TotalAmount”).Value)) {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CheckSucceeded = false;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorMessage = “Sum of values in Total column doesn’t match TotalAmount
value”;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Field(“TotalAmount”).Suggest( Sum );&lt;br&gt;
}&lt;br&gt;
else {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; CheckSucceeded = true;&lt;br&gt;
}
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=f66d2a4d-69ad-4f47-a43a-64ee13e59c38" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,f66d2a4d-69ad-4f47-a43a-64ee13e59c38.aspx</comments>
      <category>ABBYY</category>
    </item>
    <item>
      <trackback:ping>http://www.corsons.net/blog/Trackback.aspx?guid=bcb73117-c3ea-44d9-9ff3-cdb7992d501f</trackback:ping>
      <pingback:server>http://www.corsons.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.corsons.net/blog/PermaLink,guid,bcb73117-c3ea-44d9-9ff3-cdb7992d501f.aspx</pingback:target>
      <dc:creator>Nathan Corson</dc:creator>
      <wfw:comment>http://www.corsons.net/blog/CommentView,guid,bcb73117-c3ea-44d9-9ff3-cdb7992d501f.aspx</wfw:comment>
      <wfw:commentRss>http://www.corsons.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=bcb73117-c3ea-44d9-9ff3-cdb7992d501f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Rect r;<br />
If Not kwInvoiceNumber1.IsNull Then {<br />
r = kwInvoiceNumber1.Rect;<br />
r.Inflate(10*dt,10*dt);<br />
restrictsearcharea(r);<br />
}<br />
Else If Not kwInvoiceNumber2.IsNull Then {<br />
r = kwInvoiceNumber2.Rect;<br />
r.Inflate(10*dt,10*dt);<br />
restrictsearcharea(r);<br />
}<br />
Else DontFind;
</p>
        <img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=bcb73117-c3ea-44d9-9ff3-cdb7992d501f" />
      </body>
      <title>Prioritized Static Text Search</title>
      <guid isPermaLink="false">http://www.corsons.net/blog/PermaLink,guid,bcb73117-c3ea-44d9-9ff3-cdb7992d501f.aspx</guid>
      <link>http://www.corsons.net/blog/2008/06/24/PrioritizedStaticTextSearch.aspx</link>
      <pubDate>Tue, 24 Jun 2008 02:21:52 GMT</pubDate>
      <description>&lt;p&gt;
Rect r;&lt;br&gt;
If Not kwInvoiceNumber1.IsNull Then {&lt;br&gt;
r = kwInvoiceNumber1.Rect;&lt;br&gt;
r.Inflate(10*dt,10*dt);&lt;br&gt;
restrictsearcharea(r);&lt;br&gt;
}&lt;br&gt;
Else If Not kwInvoiceNumber2.IsNull Then {&lt;br&gt;
r = kwInvoiceNumber2.Rect;&lt;br&gt;
r.Inflate(10*dt,10*dt);&lt;br&gt;
restrictsearcharea(r);&lt;br&gt;
}&lt;br&gt;
Else DontFind;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.corsons.net/blog/aggbug.ashx?id=bcb73117-c3ea-44d9-9ff3-cdb7992d501f" /&gt;</description>
      <comments>http://www.corsons.net/blog/CommentView,guid,bcb73117-c3ea-44d9-9ff3-cdb7992d501f.aspx</comments>
      <category>ABBYY</category>
    </item>
  </channel>
</rss>