Sort/Selection processing
Richard Kreiss
rkreiss at verizon.net
Tue Jun 15 11:50:05 PDT 2010
How about setting a global value in auto as John has suggested and use @once
processing to check on continuing or not. The first record has not been
selected at this point. One could use the menu command with one option
"Print". Otherwise press <X> to exit.
Also, if you use either suggestion and don't currently have an auto process
table, you might want to call it rauto ( for report auto) and use the -y
option on the command line to call it. This avoids having the auto process
run in IUA or when you dont need it.
Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
[mailto:filepro-list-
> bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of John Esak
> Sent: Tuesday, June 15, 2010 2:13 PM
> To: 'Kroboth, Joe'; filepro-list at lists.celestial.com
> Subject: RE: Sort/Selection processing
>
> There are probably a number of ways to do this. No, @done is for output
> tables only.
>
> I will assume that @ts has no value either on the -v table. Although, who
> knows (besides Ken :-) maybe it does. In which case, you could set an
> incrmenting counter for every record encoutnerd selected or not and when
@ts
> equalled this counter, you'd be done with the -v processing.
>
> But I can think of another way pretty quick. Make sure you have an
automatic
> table. If you don't have one, add one. ON it set a global variable to
tell
> you whether to run your totalling/question or not. If they don't want to
> continue with the output part of the process, just EXIT. Otherwise flip
the
> variable and let it proceed. Be sure to only do this check once... Which
is
> the purpose of the global var.... So I'm being redundant.
>
> Automatic processing does not run during sort/select and would only happen
> immediately after it's finished on the first record which is about to have
> the output process done on it. So it is esentially just after the -v
table.
> The values you want to show would have to be shared through the automatic
> table... Or declared GLOBAL, since you are now on another table.
>
> John
>
>
> I can think
>
> > -----Original Message-----
> > From: filepro-list-bounces+john=valar.com at lists.celestial.com
> > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
> m] On Behalf Of Kroboth, Joe
> > Sent: Tuesday, June 15, 2010 1:52 PM
> > To: filepro-list at lists.celestial.com
> > Subject: Sort/Selection processing
> >
> > 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.
> >
> > Joe Kroboth
> > Chernay Printing, Inc
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > http://mailman.celestial.com/pipermail/filepro-list/attachment
> s/20100615/75faab1a/attachment.html
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
> >
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list