Hi,
try this code that ive used.
<head>
</head>
<%
TotValue=0
ASubTot=0
%>
<body>
(put this code after the field name in your main code)
<%
AValue = FP_FieldVal(fp_rs,"ValueIt
ASubTot = ASubTot + AValue
%>
(and this code after another field on a different table.)
<%
BValue = FP_FieldVal(fp_rs,"ValueIt
BSubTot = BSubTot + BValue
%>
(then this code where you want the results to be displayed.)
<%
TotValue=BSubTot+ASubTot -- adds it all up--
%>
</body>
ps make sure you specify AValue & BValue =0 otherwise it doesnt recognise it as numeric field.
Summers
Main Topics
Browse All Topics





by: ClassyLinksPosted on 2002-02-14 at 06:21:08ID: 6802140
Try the tutorials on this page: http://www.sitebuilder.ws/ frontpage/ tutorials/
They are the most comprehensive resource on manipulating the FP results wizard I have found.