<div dir="ltr"><div>A little stumped here</div><div>I have a temp file we put records in during day....and I'd like to print a summary 'cover sheet' nightly based on what is in this file</div><div> </div><div>So I have records that will look like this (all based on client number, which is first 4 numbers of our 'Account Number')</div>
<div> </div><div>2435-0001 John Smith</div><div>2435-0002 Jane Doe</div><div>3194-0143 John Consumer</div><div>3194-0144 Billy Carter</div><div>3194-0145 Ronald Reagan</div><div>5498-0254 George Bush</div>
<div>5498-0255 Bill Clinton</div><div> </div><div>So, at night, I want to print 3 'CoverSheets' (one for each unique client number: 2435, 3194 & 5498)</div><div> </div><div>The CoverSheet report will basically say:</div>
<div> </div><div>Client Number: 2435</div><div>Client Name : *aa (this will lookup the client file using 2435 and grab the client name)</div><div># of Records : 2 (this should count 2435-0001 & 2435-0002 and total unique records)</div>
<div>Starting acct : 0001 (lowest 'acct' for 2435)</div><div>Ending acct : 0002 (highest 'acct' for 2435)</div><div> </div><div><div>Client Number: 3194 </div><div>Client Name : *aa (this will lookup the client file using 2435 and grab the client name)</div>
<div># of Records : 3 (this should count 2435-0001 & 2435-0002 and total unique records)</div><div>Starting acct : 0143 (lowest 'acct' for 2435)</div><div>Ending acct : 0145 (highest 'acct' for 2435)</div>
</div><div> </div><div>etc</div><div> </div><div> </div><div>Can't seem to figure out how to get this to work -- do I need to do an @wbrk and just select all records at night or do I need add'l output processing to segregate this data 'by client'?</div>
<div> </div><div> </div><div> </div></div>