get clerk to act like report
Joe Chasan
joe at magnatechonline.com
Thu Apr 4 06:28:10 PDT 2013
On Thu, Apr 04, 2013 at 04:57:29AM -0400, Brian K. White 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?
Kinda messy, but have dreport call clerk separately for each record
with selection set of @rn eqf @pm - and add -r of @rn where dreport calls
dclerk.
then just change your "end" at end of @entsel to "exit"
--
-Joe Chasan- Magnatech Business Systems, Inc.
joe - at - magnatechonline -dot- com Hicksville, NY - USA
http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264
More information about the Filepro-list
mailing list