selection for report without selection table
Fairlight
fairlite at fairlite.com
Thu Jul 24 12:11:02 PDT 2008
Confusious (Bruce Easton) say:
> (inline reponses -Bruce - STN, Inc.)
Ditto.
> As per my last response, you can substitute interactive input with
> hard-coding or with values supplied via -r+ at pm, etc. as necessary.
Negatory. Security issue; tainted input near a command line--which OG
won't allow anyway. That's why I use a file to store data and have
processing parse that file. Same result, possible under OG, secure.
> You should be able to use FORM and FORMM to print from the
> same clerk session that you are using as a control session, but
I said I was using report, not clerk. I'll have to use subsequent
commands. But you just answered the question, although someone gave me the
idea I should be able to just use -f instead of -fp, do my usual stuff, and
lookup, populate dummy fields, and use print. Cleaner--if it works.
> Yeah, but if you're trying to stay in the same clerk session
> (I'm assuming all from @menu), then why not just control your
> filtering there inside lookup loops rather than doing I/O to
> another file?
You must have forgotten my methodology:
/appl/fp/dreport cgi_control -u -sr %n -fp proc_table >/dev/null 2>&1
I think I can just use an actual cloned format with dummies, do my
population from lookup, and use print. Yes?
> Oh - so you are doing PDF generation at the same time.
> Well if you use dreport with -v, then there should be no need to use
> a limiting file - take out interactive and replace with values
> from @pm, etc. passed from the clerk controlling process to get
> the proper selection done. Output finished report to a file and
> then run pdf processor on that file to produce pdf.
How are you doing @pm work in OneGate with dynamic values without using
system? That's not possible. It's designed to prevent it--commands are
immutable. You'd have to system() to do that, which throws a wrench in
user counting.
mark->
--
"Moral cowardice will surely be written as the cause on the death
certificate of what used to be Western Civilization." --James P. Hogan
More information about the Filepro-list
mailing list