M
Mick
Hi, need a little help on this one please.
I have an ASP that displays the results of an Access database. I have a
column of numbers that I add up with
<%
if FP_FieldVal(fp_rs,"hireitem5") = dthireitem then
If isnumeric (dtresourceid5) then
dtresourceid55 = dtresourceid55 + CDbl (dtresourceid5)
Else
'Give an error message
End if
End if
%>
What I would like to do, is take the result number in this case
dtresourceid55 and find the average of the number of records displayed.
So if there are 20 results displayed and the total of dtresourceid55 is 60,
I would like to work out and display automatically the average (3). Thanks
for your help
I have an ASP that displays the results of an Access database. I have a
column of numbers that I add up with
<%
if FP_FieldVal(fp_rs,"hireitem5") = dthireitem then
If isnumeric (dtresourceid5) then
dtresourceid55 = dtresourceid55 + CDbl (dtresourceid5)
Else
'Give an error message
End if
End if
%>
What I would like to do, is take the result number in this case
dtresourceid55 and find the average of the number of records displayed.
So if there are 20 results displayed and the total of dtresourceid55 is 60,
I would like to work out and display automatically the average (3). Thanks
for your help