P
Pritesh_karma
While Not rsProc.EOF
sumTot = sumTot + rsProc.Fields("2_1_1a")
sumBEE = sumBEE + rsProc.Fields("2_1_2aiv")
sumSME = sumSME + rsProc.Fields("2_1_2avi")
sumDevSpend = sumDevSpend + rsProc.Fields("2_2_1a")
rsProc.MoveNext
Wend
this is my code to add some stuff.
but i get an error that says Invalid use of Null.
I think it might be coz some entries in the db are blank.
how do i skip this and just add the values.
sumTot = sumTot + rsProc.Fields("2_1_1a")
sumBEE = sumBEE + rsProc.Fields("2_1_2aiv")
sumSME = sumSME + rsProc.Fields("2_1_2avi")
sumDevSpend = sumDevSpend + rsProc.Fields("2_2_1a")
rsProc.MoveNext
Wend
this is my code to add some stuff.
but i get an error that says Invalid use of Null.
I think it might be coz some entries in the db are blank.
how do i skip this and just add the values.