Change the value of a Text Component in Rave Report from code

Posted on 2004-11-22
Medium Priority
Last Modified: 2010-04-05
Hi experts !

  I would like to know how to change the value of a standard Text Component in Rave Report from my Delphi Code on runtime.  In my report, there is a field that will change value depending of the SQL request, but that value isn't in my SQL table, so I have to change it manually, or find an alternative to change a text component in my report on runtime.

Thanks a lot !
Question by:BGMi
  • 2
  • 2

Author Comment

ID: 12648701
Alright ! I found the answer in this topic:


Here, the solution:
  1. On the right column, click on "RaveProject"
  2. In the properties of "RaveProject", double-click on "Parameters"
  3. Add the name you want to associate to you Text Component (ex: "MyTitle")
  4. Now, on your report, add a "DataText Component" (under the Report Tab)
  5. Set the "DataField" value to "Param.MyTitle" (or whatever what you called it)
  6. From your Delphi code, set the parameter like that: rvProject.SetParam('myTitle', 'yourValue');
  7. Run and have fun !

Thanks anyway !
LVL 14

Accepted Solution

DragonSlayer earned 2000 total points
ID: 12649215
Ah, seems that you found the answer in one of my PAQs, hehe.

Post a question at the community support area to have them close this Q and refund your points.


Author Comment

ID: 12649842
I believe that you gain those points, so I accepted your comment.

Thanks a lot !
LVL 14

Expert Comment

ID: 12650542

Undeserving of it, I think... but thanks anyway ;-)

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question