<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Richard:<BR>
&nbsp;<BR>
; I would try to get IA_DIST_CHECK out of the ACCESS statement<BR>
; My guess is you have duplicate check numbers. Thus your scratch file<BR>
; will contain&nbsp;the cross product&nbsp;of&nbsp;duplicate check numbers in DUPCHK<BR>
; and IA_DIST_CHECK. <BR>
;<BR>&nbsp;<BR>&nbsp; ACCESS *DUPCHK <BR>&nbsp; OUTPUT IA_DIST_CHECK UPDATE ALIAS IA_DIST_CHECK_UPD &amp;<BR>&nbsp; &nbsp;VIA CHECK_# &amp;<BR>
&nbsp; &nbsp;USING CHECK_# OF IA_DIST_CHECK &amp;<BR>
&nbsp;&nbsp;ON ERRORSREPORT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; just&nbsp;in case a check&nbsp;is missing<BR>&nbsp; ITEM CHECK_# OF IA_DIST_CHECK_UPD FINAL &amp;&nbsp;<BR>&nbsp; &nbsp;"9" + CHECK_# OF IA_DIST_CHECK[2:8]<BR>
&nbsp;<BR>
Regards,<BR>
Peter Bateman<BR>
&nbsp;<BR><BR><br /><hr />Internet Explorer 8 makes surfing easier.  <a href='http://go.microsoft.com/?linkid=9655264' target='_new'>Get it now! </a></body>
</html>