Instead hardcode "extra" info into parser module, it might be useful and cleaner to configure such info in config file, using the same select syntax but without "BY" option, which obviously means "grand total". -- qMax