Enhancement for RAP
Hi, I noticed that the following statement causes an Access Violation :
procedure MyVariableOnCalc(var Value: Variant);
begin
Value := - (Variable1.Value / Variable2.Value);
end;
==================================
"Could not execute program MyVariableOnCalc
Access violation at address (address) in module 'myproject.exe'. Read of
address 00000000"
==================================
I could workaround it by the following statement :
procedure MyVariableOnCalc(var Value: Variant);
begin
Value := (Variable1.Value / Variable2.Value) * -1;
end;
I discovered this while debugging my report, with several trials and
errors... it took me some time to put the finger on the problem. Will it be
fixed?
David Caouette
Developer
procedure MyVariableOnCalc(var Value: Variant);
begin
Value := - (Variable1.Value / Variable2.Value);
end;
==================================
"Could not execute program MyVariableOnCalc
Access violation at address (address) in module 'myproject.exe'. Read of
address 00000000"
==================================
I could workaround it by the following statement :
procedure MyVariableOnCalc(var Value: Variant);
begin
Value := (Variable1.Value / Variable2.Value) * -1;
end;
I discovered this while debugging my report, with several trials and
errors... it took me some time to put the finger on the problem. Will it be
fixed?
David Caouette
Developer
This discussion has been closed.
Comments
Thanks for the feedback. We will look into improving this for a later
realease.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com