Approach Calculated Fields

  I'm converting a database from Access 2000 into Lotus Approach 97. I'm familiar with Access, but just learning Approach. I've got a calculated field set up on a form with a repeating panel.
   What I want the field to do is take each instance of a field called "DRUM_QUANT" on the repeating panel and total it up. Sounds easy enough. So I create a field and place it at the bottom of my form (outside of the repeating panel). I hook it up so it's a calculated type field and set the formula to: SSum(WasteIn.DRUM_QUANT), which should do exactly what I want it to do. Unfortunately, it doesn't. I tried placing the field inside the repeating panel, but no luck. Either way, the field stays completely empty.
   I was successful at creating another calculated field which multiplied a unit price by the quantity of drums to get a total price, so I know that I'm going about this the right way. Am I missing something?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The secret to getting this field to calculate is in Field Definition on the "Summary Options" tab. This option defaults to "On summary panels where placed" because most calculated fields are used in reports. On a form view, the option should be set to "All records in database xxx" where xxx is the table the repeating panel is based on.

The field needs to be outside of the repeating panel to be calculated correctly!


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
punkerAuthor Commented:
Wonderful! I knew I was missing something simple like that. Unfortunately, my book did not mention this point...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.