hi - this is more a logic issue than a programing one
it follows from my post yesterday thread333-1260817 whereby a link is written to the page if a value is higher than 0.
now this link is in a recordset loop and the total is worked out after the loop is completed so i am stuck.
i dont now how to get the total to the links before
the loop starts?
now your probably saying do the calculation in the sql
but it is more complicated than that because the calculation consists of three recordsets.
rs1hours + rs2hours + rs3hours - allowedhours = hoursleft
have thought of completing the page and refreshing it
to request the value?
this sounds messy - hope i make sense, i will post some code if anyone wants it
it follows from my post yesterday thread333-1260817 whereby a link is written to the page if a value is higher than 0.
now this link is in a recordset loop and the total is worked out after the loop is completed so i am stuck.
i dont now how to get the total to the links before
the loop starts?
now your probably saying do the calculation in the sql
but it is more complicated than that because the calculation consists of three recordsets.
rs1hours + rs2hours + rs3hours - allowedhours = hoursleft
have thought of completing the page and refreshing it
to request the value?
this sounds messy - hope i make sense, i will post some code if anyone wants it