Hi
i have an report with fields Student Name ,Roll No ,subI subII,SubIII,su bIV In which i to sum all sub. so i add unbound txtbox and in controlsource add expression =(subI)+(subII) +(SubII)+(subIV ). It work perfectly when all sub having marks but from 4 sub only 3 are compulsory and one optional so when optional sub not having marks sum is not take place and when i add zero to optional sub sum take place but i want add dashes (--) in that sub than zero. How can i do this
i have an report with fields Student Name ,Roll No ,subI subII,SubIII,su bIV In which i to sum all sub. so i add unbound txtbox and in controlsource add expression =(subI)+(subII) +(SubII)+(subIV ). It work perfectly when all sub having marks but from 4 sub only 3 are compulsory and one optional so when optional sub not having marks sum is not take place and when i add zero to optional sub sum take place but i want add dashes (--) in that sub than zero. How can i do this
Comment