Umm, it's called ReportRabbit-II .. you could build such a thing
yourself too, but this is what I've done...
For _all reporting tasks in any of my programs, and many menu-commands
too, I use a table driven sequencer where "QUERY" is merely another
opcode. The typical sequence for a report is:
CREATE the tables needed
DIALOG to display an input form to obtain parameters
QUERY
QUERY
...
IFEMPTY :PRIV:ANSWER, There are no results to display!
SORT
PINDEX make a primary index for the data model
REPORT run the report
END
One system I built had, at one time, over 100 different report sequences
and one compact bit of sequencer-code (ReportRabbit) ran them all.
> I think querying to an answer from an answer table should work. Be sure you use
> a different query variable for each query and that the answer table is not
> open.
> >> I'm struggling to produce a script (PXWIN8) that has multiple queries
> >> that must be performed in sequence.
> >> It works fine until it tries to run a query on a table that was used
> >> as output from the previous query, then it gags. Any ideas how to
> >> solve this?
> Randy Prentice
--
----------------------------------------------------------------
Sundial Services :: Scottsdale, AZ (USA) :: (480) 946-8259
Quote:> Fast(!), automatic table-repair with two clicks of the mouse!
> ChimneySweep(R): Release 4.0 is here!!
> http://www.sundialservices.com/products/chimneysweep