dtInteger type TppVariable did not return calculated value for first row
Hi,
I am trying ReportBuilder 17 on Delphi 10. I encounter a problem using
TppVariable.
I use a TppVariable and write the following formula:
Value := DBPipeline1['Quantity'] * 2;
The TppVariable instance's DataType is dtInteger. When I preview the
report, the first row's calculation isn't working. The second row and
onwards works.
If I set the DataType to dtString, the calculation for first row works.
Setting the DataType to Double/Extended/Integer (numeric type) work
fail for first row.
This is the TppVariable instance:
object ppVariable1: TppVariable
DesignLayer = ppDesignLayer1
UserName = 'Variable1'
BlankWhenZero = False
CalcOrder = 0
DataType = dtInteger
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Name = 'Arial'
Font.Size = 12
Font.Style = []
Transparent = True
mmHeight = 4763
mmLeft = 144727
mmTop = 4233
mmWidth = 20638
BandType = 4
LayerName = Foreground
end
The problem doesn't happen in ReportBuiler 15.
--
Best regards,
Chau Chee Yang
I am trying ReportBuilder 17 on Delphi 10. I encounter a problem using
TppVariable.
I use a TppVariable and write the following formula:
Value := DBPipeline1['Quantity'] * 2;
The TppVariable instance's DataType is dtInteger. When I preview the
report, the first row's calculation isn't working. The second row and
onwards works.
If I set the DataType to dtString, the calculation for first row works.
Setting the DataType to Double/Extended/Integer (numeric type) work
fail for first row.
This is the TppVariable instance:
object ppVariable1: TppVariable
DesignLayer = ppDesignLayer1
UserName = 'Variable1'
BlankWhenZero = False
CalcOrder = 0
DataType = dtInteger
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Name = 'Arial'
Font.Size = 12
Font.Style = []
Transparent = True
mmHeight = 4763
mmLeft = 144727
mmTop = 4233
mmWidth = 20638
BandType = 4
LayerName = Foreground
end
The problem doesn't happen in ReportBuiler 15.
--
Best regards,
Chau Chee Yang
This discussion has been closed.
Comments
There is an RB 17.0 patch now available to resolve this issue. Please email
support@ with serial number and registration and request the patch.
Thanks for reporting this issue.
Best regards,
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Is this the same issue as the DBCalc? Thsi really hurts!!!!
I trust you get a new release up too.
Walter
On Fri, 23 Oct 2015 17:33:37 -0500, "Nard Moseley \(Digital