get clerk to act like report

Richard Kreiss rkreiss at verizon.net
Thu Apr 4 06:24:57 PDT 2013


  Top post:
Create a process only to create a demand index of the records for the report or export the info needed to a working file. 

From a standing file run a process which does a lookup to the working file, gets the record number if the record to process. The do a system passing the record number to @once. Do a - lookup to that record. Run form and exit back to you standing file. Do a getnext and repeat until all the records have been processed. 

You could also create the working file. Call clerk in update mode for each record and us pushkey to process each record. 

Another thought: create a report using dummy fields and duplicate in processing what you are trying to do with form. 

Richard Kreiss
GCC Consulting

From my IPhone. 

On Apr 4, 2013, at 4:57 AM, "Brian K. White" <brian at aljex.com> wrote:

> I want to run a report that just calls a call table once for each record.
> 
> Except in that call table I want to issue form commands, so I need clerk 
> not report. Or else I need report with system clerk commands just to do 
> the forms, which I would rather avoid.
> 
> Records are selected via selection set. So the main input processing is 
> just one line to call the call table. Except that by itself doesn't 
> actually work. It just sits there at entsel on the first record. If I 
> make the table:
> ---top---
> end
> @entsel
> call "mytable"
> end
> ---end---
> 
> Then I can walk the records and the call table runs on each, by pressing 
> enter. But that's no good and I can't believe that adding a pushkey is 
> really the answer either :)
> 
> So how can I construct an input processing and clerk command line 
> options so that clerk will essentially behave as report and run once per 
> selected record and then exit at the end of the selected records?
> 
> -- 
> bkw
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list


More information about the Filepro-list mailing list