"David Cox" <(E-Mail Removed)> wrote in message
news:jt4Kg.5344$(E-Mail Removed)
> -100 * avg(fieldyn)
Nice! That's a bit tidier. But I'd rather not rely on the assumption
that Boolean True is always stored as -1, even though that's true in Jet
databases. So I prefer to use the Abs() function, since most databases
I know of store True as either 1 or -1.
100 * Abs(Avg(fieldyn))
The factor 100, of course, converts the decimal fraction to a percent
value. However, it may be desirable to leave it as a fraction and just
format it as a percent, just in case this value is going to be used in
calculations of some sort.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)