Default Avatar

MrSpock

MrSpock

About

Username
MrSpock
Joined
Visits
0
Last Active
Roles
Members

Comments

  • gordk wrote: » use the ongetvalueevent in delphi it fires when the variable has no value. I must set this value without delphi. When I design a report, which uses Variables, that later will be set by delphi and currently have no value, then…
  • Hello sange, you must use a double pass report (Select Report | Options ... General , Double Pass). In the code you can use: if Engine.FinalPass then ... to check, that you are in the second pass.
  • Hello kaju74, I cannot reproduce this error, it worked with a table that I have in my database. Sometimes problems like that happen if the column names are the keywords of the database. Which database are you using?
  • Hello kaju74, the report variable expects an expression as value. #10 or #13 are not part of a valid expression as you can test by using the edit function of the variable in FR3. What you could do, is to define a symbol which is not part of yo…
  • Hello Doug, I don't know whether that is the easiest way, but you could define a category and then a variable in the Report, e.g. Category "FromDelphi", Variable "RepName". From Delphi you then use the code: frxRepRechnung.LoadFromFile('Rechnun…
  • Hello anithegregorian, what is the SQL Statement in the query? I guess that you have not sorted the data using the ORDER BY clause.
  • Hallo runspect, just let us know, when you could solve the problem. It might be interesting for us to avoid the same problem in the future.
  • Hello runspect, can you post your code? Maybe we then can find a reason for the problem.
  • Hello runspect, that sounds strange. I just tried the following code: procedure TMainForm.Button1Click(Sender: TObject); begin   if OpenDialog1.Execute then   begin      ShowMessage(OpenDialog1.FileName);      frxRepRechnung.ShowRep…
  • Hello gordk, thank you for that explanation. So that means I either have to do some calculations or, the way that I have chosen, go to preview and then edit the preview to see, where the element appears.
  • Thank you gordk, your hint was good. It works. I tried to set e.g. the top property of the rectangle that I use as marker, and found a strange behaviour. The top property in the object inspector uses obviously cm as unit, but it seems, that the c…