Problem with OnGetValue (frReport)
Original Reporter info from Mantis: hectorsponce
-
Reporter name: Hector S. Ponce
Original Reporter info from Mantis: hectorsponce
- Reporter name: Hector S. Ponce
Description:
-
When you assign a procedure to event OnGetValue (frReport) the ide show the following message "The method frReport1GetValue is incompatible to this event (OnGetValue)" and not appear as selection option in combo of property navigator.
-
The procedure in my project:
procedure Tfacturador.frReport1GetValue(ParName: String; var ParValue: Variant);
assigned to the event OnGetValue (frReport) don`t receive clean content in variable ParName, so any comparison is allways false:
if UpperCase(ParName)='CLIENTE' then .....
or
if CompareText(UpperCase(ParName),'CLIENTE')=0 then .....
or ...
The content of ParName from debuguer in my procedure is 'LIENTE#0#0#.............' while the content passed from de code in LR_Class
in sentence " GetVariableValue(ParName, CurValue); " is correct.
Mantis conversion info:
- Mantis ID: 16245
- Version: 0.9.28.2
- Fixed in version: 0.9.29 (SVN)