Im trying to work out a percentage from a database!
Im new to coldfusion and with my small amount of knowledge i
thought it might be possible this way!
A count query to select all the F from the STATUS field in
the database, as below
<cfquery name="countFails" datasource="breeze">
FROM PPS_TRANSCRIPTS JOIN PPS_PRINCIPALS ON
PPS_TRANSCRIPTS.PRINCIPAL_ID = PPS_PRINCIPALS.PRINCIPAL_ID
WHERE NAME LIKE '#FORM.allNames#'
AND STATUS LIKE 'F'
if i out put it i get the correct answer of 23, but i dont
want to out put it i want to save it as a variable. So i put the
following code in -