M
marco_pb via AccessMonster.com
Hi, I am a real noob in programing vbscript in Access 2003.
I have got a problem here..
I want to count how many null and 0 values that are in a ROW.
Then I want to have the average of the rest of data in that row without
having the null and 0 values calculated.
sample:
------------
row A -> v w x y z avg=(v+w+x+y+z)/5
row B -> f g 0 h avg=(f+g+h)/3
I figured it that I can use SELECT CASE, but since I am noob here, I dont
know how to make it.
I really need your helps. Thank you in advance.
PLease.. I really need to get it all done in a week deadline...
I really thank you all for your help..
I have got a problem here..
I want to count how many null and 0 values that are in a ROW.
Then I want to have the average of the rest of data in that row without
having the null and 0 values calculated.
sample:
------------
row A -> v w x y z avg=(v+w+x+y+z)/5
row B -> f g 0 h avg=(f+g+h)/3
I figured it that I can use SELECT CASE, but since I am noob here, I dont
know how to make it.
I really need your helps. Thank you in advance.
PLease.. I really need to get it all done in a week deadline...
I really thank you all for your help..