We help IT Professionals succeed at work.
Get Started

Access 2000 - Formula after running sum calculation

csehz
csehz asked
on
308 Views
Last Modified: 2012-05-11
Dear Experts,

Can you please have a short look on the attached small database, basically its Orders table is created by a make table query for running sum calculation, cumulation the incoming order qtys.

My question would be the next step, in Query_Orders there is a weekly production limit as 200, and the target would be to determine which items can be produced next week. Currently the formula for that is ProduceOrNot: IIf([RunSum]<[WeeklyProd];"Produce";"NotProduce")

But the problem is the 5th record in the query, because the formula give "NotProduce" result of course, however there would be still place to produce not 70 but 60 pcs.

Do you have idea for a formula, which could give "Produce" result there, and only from the 6th record giving "NotProduce".

thanks,


RunSumQuery.zip
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE