Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Edit Custom SQL in RAP (RB 12)

edited February 2013 in General
I need to change some lines of the Custom SQL using RAP.

How to do this?

Comments

  • edited February 2013
    Hi Sam,

    You can access SQLText using the TdaSQL object. The easiest way to gain
    access to the TdaSQL object is by using the TdaSQLBuilder wrapper object.

    lSQLBuilder := TdaSQLBuilder.Create(Report);
    lSQL := lSQLBuilder.SQL;


    See the TdaSQLBuilder help topic for more information.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.