CharlieMike73
Programmer
Hi, I am trying yo take two values out of a D-Base and do a calc on them...
<%
Dim Unit_Cost
Unit_Cost = (rsCountDWRs.Fields.Item("DWR_TOTAL_COST"
.Value)/(rsCountDWRs.Fields.Item("ACCOMP_QTY"
.Value)
%>
But is it not working, I have also tried
<%
Set Unit_Cost = ...
%>
and also tried the statement without Dim or Set.
I just need to take a value from one field divide it by another and put the result into a HTML table
Any ideas???
<%
Dim Unit_Cost
Unit_Cost = (rsCountDWRs.Fields.Item("DWR_TOTAL_COST"
%>
But is it not working, I have also tried
<%
Set Unit_Cost = ...
%>
and also tried the statement without Dim or Set.
I just need to take a value from one field divide it by another and put the result into a HTML table
Any ideas???