J
JT
ok - here is my problem:
i have a page that dynamically displays payment info for accounts. since
each account differs in the number of rows to display, i loop through my
recordset and use the following asp embedded html:
<input type="text" style="TEXT-ALIGN: right"
value="<%=formatnumber(rsOldPaymentInfo.Fields("scheduled_amount"),2)%>"
name="<%=scheduled_amount_row%>" align="right" style="FONT-SIZE: xx-small;
width=50px">
i need to get a sum of these amounts and i am doing this for validation so i
need the values that are posted to the page, not the values retrieved from
the recordset.
so i know that i need to declare a variable that will record a tally of the
amounts posted: something like:
mySum = mySum + Response.Write("<input type="text" style="TEXT-ALIGN: right"
value="<%=formatnumber(rsOldPaymentInfo.Fields("scheduled_amount"),2)%>"
name="<%=scheduled_amount_row%>" align="right" style="FONT-SIZE: xx-small;
width=50px">")
--but i don't know how to get this tally correctly
any thoughts???
tia
jt
i have a page that dynamically displays payment info for accounts. since
each account differs in the number of rows to display, i loop through my
recordset and use the following asp embedded html:
<input type="text" style="TEXT-ALIGN: right"
value="<%=formatnumber(rsOldPaymentInfo.Fields("scheduled_amount"),2)%>"
name="<%=scheduled_amount_row%>" align="right" style="FONT-SIZE: xx-small;
width=50px">
i need to get a sum of these amounts and i am doing this for validation so i
need the values that are posted to the page, not the values retrieved from
the recordset.
so i know that i need to declare a variable that will record a tally of the
amounts posted: something like:
mySum = mySum + Response.Write("<input type="text" style="TEXT-ALIGN: right"
value="<%=formatnumber(rsOldPaymentInfo.Fields("scheduled_amount"),2)%>"
name="<%=scheduled_amount_row%>" align="right" style="FONT-SIZE: xx-small;
width=50px">")
--but i don't know how to get this tally correctly
any thoughts???
tia
jt