It's a summation on a very simple form. The form contains up to 5 lines of
data where each line contains: [un[Amount approved], [Amount spent], and a
line total =nz([Amount approved],0) - nz([Amount spent],0)). On the sixth
line are column totals and a total of all the line totals is
=nz([LineTotal1],0)+nz([LineTotal2],0)+nz([LineTotal3],0)+nz([LineTotal4],0)+nz([LineTotal5],0).
What I would like to have happen would be that when the final total (line
6)
is calculated to be negative, I could issue a warning to the operator.
Generally, this condition indicated an input error.
Thanks,
Al Campagna said:
Goldar,
That's enough information to give a specific solution...
Are you talking about a form, or a query, or a report?
What's the calculation?
Describe the value/s that constitute the calculation.
Please... more info...
Essentially though... what event/s would effect/change that
calculation
value?
Use those events to trigger an evaluation of the new value, and
respond
accordingly.
--
hth
Al Campagna
Microsoft Access MVP 2007-2009
http://home.comcast.net/~cccsolutions/index.html
"Find a job that you love... and you'll never work a day in your
life."
.