I was trying to look at this post Summing Fields if not null
and to test it I created an unbound form, with 4 unbound text fields, and a calculated field, with the control
I was a bit surprised to see that when i wrote 1 in the first field 2 in the second and so on, that my calculated field came out as 1234 instead of 10 as expected.
Im guessing that access not knowing better since the fields were all unbound figured I wanted to concatenate it (which seems dumb when we have an operator spefically for that purpose the &).
Does anyone have any other insight to offer on this, and how to avoid access using the + to concatenate fields?
and to test it I created an unbound form, with 4 unbound text fields, and a calculated field, with the control
Code:
source:=nz([Tekst1];0)+nz([Tekst2];0)+nz([Tekst3];0)+nz([Tekst4];0)
Im guessing that access not knowing better since the fields were all unbound figured I wanted to concatenate it (which seems dumb when we have an operator spefically for that purpose the &).
Does anyone have any other insight to offer on this, and how to avoid access using the + to concatenate fields?
Comment