Sort/Selection processing

Barry Wiseman barrywiseman at verizon.net
Tue Jun 15 12:13:02 PDT 2010


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.


More information about the Filepro-list mailing list