I've discovered what the "wierd" number is.
If I have 3 lines of Sales Orders and on each line, I have a SOD_RequiredQty and a Labels Per (Expr2) and I use the expression =SUM([SOD_RequiredQty]*[Expr2])on the line, the value returned on each line is the total of all of the "Sums" calculated...
What's confusing to me is that it returns an integer for printing "Expr2", but when used in a calculation, it seems to be grabbing something else.
I think it must have something to do with pulling in more than a single value for the calculation, since the calculated value is replicated on every...
In my report, I have SOD_Required Qty visible and I have
Expr2 visible on the line.
However, the calc doesn't work.
Here's the SQL view:
SELECT Shipment.SH_ShipToName, SalesOrder.SOM_SalesOrderID, Shipment.SH_ShipDate, Item.IMA_ItemID, SalesOrderDelivery.SOD_RequiredQty...
Hi Skip,
I changed the query to Expr2: CInt([Field_Name])
In the report I get Expr2 showing correctly. e.g 100
However, when I try to use Expr2 in the following calculation
=Sum([SOD_RequiredQty]*[Expr2])
I get 36,502 as the result, regardless of the two sides of the equation.
SOD_RequiredQty is...
I'm using Val() in an Access Query and my expression is a field in my database that consists of left aligned numbers in a varchar column, such as 100, 200 etc.
Val is returning 4/9 for 100. In other words April 9 which is the 100th day of the year. What can I do to get integers returned...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.