Print selection criteria on report?
tom heine
tch at aljex.com
Sun Mar 21 08:31:59 PST 2004
here is the way we did it.
make a file with all the selection fields
you can have nice stuff in it too, wef, wlf to use browses.
put the answers into environmental variables with putenv
make a form with the selection fields, and print it to a file
then from within the input.prc, have system commands to run rreport filename -v getenvs
also send the output to a file with -p
in getenv's, use getenv to get the info and use it for selection
cat the two files together with a system command, and ask what to do with it.
once its a file you can easily print, email, fax, view, turn into a ms word doc., or
a bunch of other stuff. you should have a cover page with the report parameters,
and the report starts on the next page.
its a pain to setup, but once you have it and users can use browses
to find their data, it is very powerful. we also log who runs each report
and things like that.
have fun.
tom
----- Original Message -----
From: "Robert T. Repko (R Squared Consultants)" <rtr at rsquared.com>
To: "FilePro Mailing List" <filepro-list at seaslug.org>
Sent: Saturday, March 20, 2004 9:14 AM
Subject: Re: Print selection criteria on report?
> Believe it or not at 3/19/2004 06:09 PM, Jean-Pierre A. Radley said:
> >Dan Snyder propounded (on Fri, Mar 19, 2004 at 04:19:23PM -0500):
> >|
> >| We have many outputs/reports that our users load saved selections
> >| for and then change the "value" field in the selection to choose the
> >| specific records that they want. Is there an easy way to have the
> >| selection criteria print on the output form?
> >
> >It seems rather obvious that if you set a global variable stuffed with
> >the selection criteria, you can readily print it on the report.
> >
> >--
> >JP
> >_______________________________________________
> >Filepro-list mailing list
> >Filepro-list at lists.celestial.com
> >http://mailman.celestial.com/mailman/listinfo/filepro-list
>
> And just how would you stuff a global variable with the selection criteria
> after the person and entered the criteria on the fly. I would love to be
> able to do that on my reports, for documentation purposes and so people
> could see exactly what they asked for.
> *******************************************************************************
> * Robert T. Repko - R Squared Consultants | Voice: (610) 253-2849 *
> * Serving the Computing World for 20+ years | Fax: (610) 253-0725 *
> * NT/Unix/Mac Networking, Cisco Routers/Switches| Internet:
> rtr at rsquared.com *
> * NJDOE Provider ID#: 763 | SPIN: 143010681 | Address: 4 Juniper Ave. *
> * New Jersey SCC Pre-Authorized | Easton, PA 18045 *
> *******************************************************************************
>
> _______________________________________________
> 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