the -t option of querycalc.
Egon Willighagen
egonw at subdimension.com
Sat Apr 28 08:52:41 CEST 2001
On Friday 27 April 2001 16:23, Joost Bekkers wrote:
> yep, but why i'm trying to use a -t(op) function to get a total.....
> must have been a monday without coffee.
I do not think it will calculate a total anyway, it would just give the
maximum (if it worked... :)
Querycalc is known to be very buggy, and we are thinking about moving it out
of Lire... But we haven't decided on the replacement yet, i.e. there is no
start on development of the replacement. At this moment we want to replace it
by SQL, but that will not be finished for another few months... (the DLF has
to be stored in a repository that can except SQL queries (e.g. MySQL, but
also a file system)...
> The man also shows a --sum option, which is unknown to querycalc
> outside of -command and inside -command i can't make a subreport.
> When i use @subreports I get no subreports and when I use -s I get
> an error.
I think the best thing you can do, is look at the code used in the other
reports... which often use code not using querycalc...
Have you tried my replacement? Did that do want you wanted to do?
> "Can't call method "Print" on an undefined value at
> ../logreport/libexec/lire/querycalc line 817."
>
> Also the --sum option seems to be using column+1 as the column to
> calculate on. (which makes 0 the first column.)
>
> Anyway, have a nice weekend.
Thanx, all the same to you...
Egon
--
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
questions-request at logreport.org
More information about the Questions
mailing list