Howlsta
Vampire Slayer
- Local time
- Today, 00:59
- Joined
- Jul 18, 2001
- Messages
- 180
Hi Peops,
I want to display info like this as a continuous form.
Highest AIS Total Percentage
0
1
>+2
Highest AIS can be up to 9. I don't reckon i'll be able to do a count of all >=2 on one record of a query.
Thanks to some help I have done similar queries but the >=2 part has threw me. My query is like this:
SELECT childinfo.[Highest AIS], Count(childinfo.chilRestraint) AS [Number], Count([childinfo].[chilRestraint])/(SELECT
Count(*) FROM childinfo) AS [Percent]
FROM childinfo
GROUP BY childinfo.[Highest AIS]
ORDER BY Count(childinfo.chilRestraint) DESC;
because of the >=2 part I don't know if a query will do it here. Will I have to do a whole load of sums in control sources of text boxes to get what I want?
thanks
Rich
I want to display info like this as a continuous form.
Highest AIS Total Percentage
0
1
>+2
Highest AIS can be up to 9. I don't reckon i'll be able to do a count of all >=2 on one record of a query.
Thanks to some help I have done similar queries but the >=2 part has threw me. My query is like this:
SELECT childinfo.[Highest AIS], Count(childinfo.chilRestraint) AS [Number], Count([childinfo].[chilRestraint])/(SELECT
Count(*) FROM childinfo) AS [Percent]
FROM childinfo
GROUP BY childinfo.[Highest AIS]
ORDER BY Count(childinfo.chilRestraint) DESC;
because of the >=2 part I don't know if a query will do it here. Will I have to do a whole load of sums in control sources of text boxes to get what I want?
thanks
Rich