|
 |
access thread: Report Groupings
Message #1 by "Haslett, Andrew" <andrew.haslett@i...> on Thu, 21 Feb 2002 16:36:55 +1030
|
|
Hi gang.
Must be lack of sleep but the brain is just not producing at the mo!!
I have a number of land properties, grouped by state, and I want to COUNT
the number of times a certain field is equal to TRUE for each particular
state. So in State A there maybe 100 properties, of which 35 have the 'Soil
Acidity' field value of TRUE.
In the State Footer I have an expression of COUNT([SoilAcidity]=True), but
all it seems to do is count the total number of properties for that state.
IE - it doesn't use the expression.
Anyone have any ideas, while I go and get a quadruple coffee hit??
Cheers,
Andrew
Message #2 by joe.dunn@c... on Thu, 21 Feb 2002 09:04:55 +0000
|
|
I usually base my report on a query and add a column to the query that goes
something like:
ValidSA: iif([SoilAcidity] = true, 1, 0)
then add the ValidSA control to the report at the relevant place(s) -
State footer and report footer - as:
Sum(ValidSA)
Joe Dunn
"Haslett, Andrew"
<andrew.haslett@i... To: "Access" <access@p...>
lc.gov.au> cc:
Subject: [access] Report Groupings
21/02/2002 06:06
Please respond to
"Access"
Hi gang.
Must be lack of sleep but the brain is just not producing at the mo!!
I have a number of land properties, grouped by state, and I want to COUNT
the number of times a certain field is equal to TRUE for each particular
state. So in State A there maybe 100 properties, of which 35 have the
'Soil
Acidity' field value of TRUE.
In the State Footer I have an expression of COUNT([SoilAcidity]=True), but
all it seems to do is count the total number of properties for that state.
IE - it doesn't use the expression.
Anyone have any ideas, while I go and get a quadruple coffee hit??
Cheers,
Andrew
*************************************************************************
This e-mail may contain confidential information or be privileged. It is intended to be read and used only by the named
recipient(s). If you are not the intended recipient(s) please notify us immediately so that we can make arrangements for its return:
you should not disclose the contents of this e-mail to any other person, or take any copies. Unless stated otherwise by an
authorised individual, nothing contained in this e-mail is intended to create binding legal obligations between us and opinions
expressed are those of the individual author.
The CIS marketing group, which is regulated for Investment Business by the Financial Services Authority, includes:
Co-operative Insurance Society Limited Registered in England number 3615R - for life assurance and pensions
CIS Unit Managers Limited Registered in England and Wales number 2369965 - for unit trusts and PEPs
CIS Policyholder Services Limited Registered in England and Wales number 3390839 - for ISAs and investment products bearing the CIS
name
Registered offices: Miller Street, Manchester M60 0AL Telephone 0161-832-8686 Internet http://www.cis.co.uk E-mail
cis@c...
CIS Deposit and Instant Access Savings Accounts are held with The Co-operative Bank p.l.c., registered in England and Wales number
990937, P.O. Box 101, 1 Balloon Street, Manchester M60 4EP, and administered by CIS Policyholder Services Limited as agent of the
Bank.
CIS is a member of the General Insurance Standards Council
CIS & the CIS logo (R) Co-operative Insurance Society Limited
********************************************************************************
|
|
 |