![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have 10 optional numerical fields on a form. When I try to sum them in the control source of another input box, or even using VB, I only get a working total if all 10 fields contain a number. |
|
How do I tell access to ignore fields with no number entered and also fields containing "#Error?" so that I always get a total in the total box? |
|
Thanks Ciarán |
#3
| |||
| |||
|
|
Cron wrote: Hello, I have 10 optional numerical fields on a form. When I try to sum them in the control source of another input box, or even using VB, I only get a working total if all 10 fields contain a number. You probably need to use NZ(). =NZ([fld1],0)+([fld2],0)+([fld3],0)... How do I tell access to ignore fields with no number entered and also fields containing "#Error?" so that I always get a total in the total box? I wouldn't know. Most people would fix the #Error. |
![]() |
| Thread Tools | |
| Display Modes | |
| |