L
Les Coover
MS Access 2000
On a form 3 fields: txtA, txtB, txtC
I use the control source property to create a calculated field
=[txtA]+[txtB]+[txtC] and name the calculated field SumIt.
Fine and dandy, everything works as long as I enter a NUMBER or ZERO in each
of the 3 fields.
But, I would like SumIt to add the fields together even when there is
nothing entered in one or two of the fields.
So my form will look better, so I won't have to look at a bunch of
zeros--just nice empty blank spaces when nothing is entered.
Well I tried making the default value in the table an empty string and a
null string but neither worked. Of cource I could make
the default value zero but this is where you came in--I want to get rid of
the zeros.
Anyone know how I can use my calculated field and not have to see zeros in
the fields where nothing is entered?
Thanks,
Les
On a form 3 fields: txtA, txtB, txtC
I use the control source property to create a calculated field
=[txtA]+[txtB]+[txtC] and name the calculated field SumIt.
Fine and dandy, everything works as long as I enter a NUMBER or ZERO in each
of the 3 fields.
But, I would like SumIt to add the fields together even when there is
nothing entered in one or two of the fields.
So my form will look better, so I won't have to look at a bunch of
zeros--just nice empty blank spaces when nothing is entered.
Well I tried making the default value in the table an empty string and a
null string but neither worked. Of cource I could make
the default value zero but this is where you came in--I want to get rid of
the zeros.
Anyone know how I can use my calculated field and not have to see zeros in
the fields where nothing is entered?
Thanks,
Les