G
Guest
I have 4 number fields in a table: Field1, Field2, Field3, and Field4. The
default value of these number fields is zero. A user may or may not enter
data into these fields via a form. Is there a way in a table, query, or text
box control source, to count the fields (Field1, Field2, Field3, and Field4)
that are greater than 0? I have done this with code using the "on current"
event procedure on the form. I'm thinking I either have to wite that value
back another field in the table, or use some code in the "criteria" section
of a query, or code in the "default value" section of the table field. TIA
default value of these number fields is zero. A user may or may not enter
data into these fields via a form. Is there a way in a table, query, or text
box control source, to count the fields (Field1, Field2, Field3, and Field4)
that are greater than 0? I have done this with code using the "on current"
event procedure on the form. I'm thinking I either have to wite that value
back another field in the table, or use some code in the "criteria" section
of a query, or code in the "default value" section of the table field. TIA