Sort/Selection processing
Barry Wiseman
bwiseman at sprintmail.com
Tue Jun 15 12:15:44 PDT 2010
On 6/15/2010 3:13 PM, Barry Wiseman wrote:
> On 6/15/2010 1:52 PM, Kroboth, Joe wrote:
>> Is there any way to test that the last record has been processed on a
>> Sort/Selection processing table. I want to trigger a message to
>> display some totals on the screen and ask if the user wants to
>> continue. @done doesn't seem to work and @TS doesn't seem to have a
>> value. Perhaps The only option is to pass the totals to the output
>> processing try to do what I need from there (?)
>>
>> Thanks.
>
> On the (maybe remote) chance that your selection table reads the
> entire file in record order, your code could go in selection
> processing, conditioned with
>
> If: @rn eq numrecs(-)
>
> If there is a selection table or an input index in use, this would not
> work.
And if the file ends with any deleted records, it still wouldn't work. Bah.
More information about the Filepro-list
mailing list