Forums

This topic is locked

Performing different Math functions on Record sets

Posted 23 Apr 2003 16:20:03
1
has voted
23 Apr 2003 16:20:03 Jeff Montgomery posted:
Is there a way that I can subtract two recordsets and show the total.
rs1 - rs2 = totlal
Thanks for your help

Replies

Replied 24 Apr 2003 10:33:54
24 Apr 2003 10:33:54 Lee Diggins replied:
Hi,

there are many ways, this is one

Dim myTotal
myTotal = rs1("myColVal" - rs2("myColVal"

Response.Write(myTotal)

Digga

Sharing Knowledge Saves Valuable Time!!!

Reply to this topic