This is driving me up the wall! I have been trying to get this ever so 'simple' code to work for the last hour!
All I want to do is divide a number by 2
this is what I have
VB Code:
<% ... if rstFound.bof = false then found_rows = rstFound.Fields("foundrows").value rstFound.Close page_count = found_rows / 2 %>Found <%=page_count%>
this does not work!! found_rows is 44 so page count should be 22. If I remove the /2 it works fine, else I get a 500 error.
I've also tried * 0.5 and this does not work either
Help!




Reply With Quote