rajeev_kumar
Hi,
I am getting this message when trying to print report..... ( Could not run program: Label9OnGetText " is not a valid Integer value )...... how can I fix this????? Below is the code of label9ongettext.
please thanks
object raProgramInfo2: TraProgramInfo
raClassName = 'TraEventHandler'
raProgram.ProgramName = 'Label10OnGetText'
raProgram.ProgramType = ttProcedure
raProgram.Source =
'procedure Label10OnGetText(var Text: String);'#13#10'begin'#13#10#13#10' Text' +
' := (IntToStr(StrToInt(DBCalc1.Text) +'#13#10' '#9' StrTo' +
'Int(DBCalc2.Text) +'#13#10' StrToInt(DBCalc3.Text' +
')) ;'#13#10#13#10'end;'#13#10
raProgram.ComponentName = 'Label10'
raProgram.EventName = 'OnGetText'
raProgram.EventID = 53
end
Thanks
Rajeev
Comments
-
Hi Nico,
Thanks for your suggestion. But we are not have a much hands on Report builder .
1. Do you have any premium service and what are the charges.
2. If yes, as part of the premium service we would like to convert our 8 reports. … -
Hi Nico,
I have tried the steps as mentioned in the article. But when I am trying to convert the template (example.rtm attached in below link) using conversion tool it gives the error "Invalid stream format". We have also changed the Quer… -
Hi Nico,
As you have suggested to assign database using the TppDesigner.DataSettings.DatabaseName property or in the File | Data Settings... menu option in the "Data" tab of the designer. But it does not worked in our application.
Th… -
Hi Nico,
I tried as you suggested but still getting same error.
Thanks
Rajeev -
-
Hi Nico,
I will try this and let you know.Thanks for quick reply and support.
Thanks
Rajeev -
Hi Nico,
This is the formula which we are assigning in Label9OnGetText procedure.
procedure Label9OnGetText(var Text: String);
begin
Text := (IntToStr(StrToInt(DBText2.Text) +
StrToInt(DBText3… -
Hi Nico,
Here is the code for field:
object TppField
FieldAlias = 'COUNT(RT.NO_REQUETE)'
FieldName = 'COUNT(RT.NO_REQUETE)'
FieldLength = 0
DataType = dtDouble
… -
Hi,
We have looked into this further and found that after addition of these two properties i.e, Datafield and DBCalcType (as marked in Bold) causing the issue. If we remove these two properties from report, our report is able to open and it sho… -
Hi Nico,
I have created one sample for above problem and attached here:
https://github.com/rajeevgl31/stats
Please let me know if you have any question or query.Hi nico,
As suggested we have added \RBuilder\Source\ path to our Delphi library path and after that we are facing issue which we have already discussed in the below link.
in Getting an error Cannot assign a TFieldList to a TStringList Comment by rajeev_kumar March 2022Hi Nico,
Actually I wanted to debug the pprptexp.pas file to check the loadreport function.
I have followed the instruction you have mentioned in the link but still same and
When I have deleted the file from the path I am assumi…Also to let you know previously in our older version of application we have BDE dependecy but now we have replaced it with Firedac in our app.
Hi Nico,
Thanks for your response. Now when I am trying to open my report on another database its giving an error message "Class TDaBDEQueryDataView not found."
Hi Nico,
Thanks for your response. This solution worked for me. Now we are facing oracle login prompt before opening the report (image attached in below link).Please let me know how I supress that login prompt.
in Class TDaDOAQueryDataView not found. Comment by rajeev_kumar March 2022