N
nmoakeh
I need some help! I'm definitely not the most versed in Access so
forgive me if this seems simple. Basically, I need to output on a form
and report (assuming done via query) a calculation based on a
condition. What I have is a table that contains a StartDte and CompDte
with a query that calculates the difference in dates called [Days
Served]. I need to display a field that takes [Days Served] and
outputs [PaymentDue] with the following criteria:
If [Days Served] > 3, then [PaymentDue]=(([Days Served] - 3) * 25) + 27
but, if [Days Served <=3, then [PaymentDue]=([Days Served] * 9)
I'm not sure how to go about this... I've tried researching this and
trying different things but I haven't found something that gives me the
correct output.
Thanks in advance for your help!
forgive me if this seems simple. Basically, I need to output on a form
and report (assuming done via query) a calculation based on a
condition. What I have is a table that contains a StartDte and CompDte
with a query that calculates the difference in dates called [Days
Served]. I need to display a field that takes [Days Served] and
outputs [PaymentDue] with the following criteria:
If [Days Served] > 3, then [PaymentDue]=(([Days Served] - 3) * 25) + 27
but, if [Days Served <=3, then [PaymentDue]=([Days Served] * 9)
I'm not sure how to go about this... I've tried researching this and
trying different things but I haven't found something that gives me the
correct output.
Thanks in advance for your help!

