Solved

Sum (minimum value) of formula with shared variable

Posted on 2010-11-11
4
713 Views
Last Modified: 2012-05-10
I have a report that is fulling a price value from a subreport that needs to be used in calulation to determine the final price of an item. then based on the three possible sets of calculations chooses the lowest value. This was working great until I introduced the shared variable into the calculation process and now I get a non summable field issue even the the @total formula is returning a result.
Pricing-Mailer-11-11-10.rpt
0
Comment
Question by:John-Michael_Davis
  • 2
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 34117562
The problem is summary functions are run in an early pass through the report while the shared variables and subreports are evaluated in the last pass (Printing Record pass)  

You will have to do the smmary manually using a formula

mlmcc
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 34117587
Look at the formulas i wrote in this copy of your report.

mlmcc Pricing-Mailer-11-11-10rev.rpt
0
 
LVL 1

Author Comment

by:John-Michael_Davis
ID: 34118550
Thank you mlmcc, that worked perfectly
0
 
LVL 1

Author Closing Comment

by:John-Michael_Davis
ID: 34118559
Having the formulas added to the report made it very clear how the logic would fit in my situation.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now