% strSQL2 = "SELECT sum(case when appid = '42' then 1 else 0 end) AS ma3count," &_ "(SELECT COUNT(*) FROM machines WHERE machines.isactive=1 AND machines.islocationonly=0) AS machinecount "& _ "FROM installedapps WHERE appid=42 and installedapps.isactive=1" set rs2 = objconn.Execute(strSQL2) ma3count = rs2("ma3count") machinecount = rs2("machinecount") ma2count = CInt(machinecount) - CInt(ma3count) ma3pct = FormatNumber(CInt(ma3count)/Cint(machinecount)*100,2) ma2pct = FormatNumber(CInt(ma2count)/Cint(machinecount)*100,2) %>
| Machine Auth 3.0 | <%Response.Write(ma3count)%> | <%Response.Write(ma3pct)%>% |
| Machine Auth 2.0 | <%Response.Write(ma2count)%> | <%Response.Write(ma2pct)%>% |