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

Create a dbtext

edited January 2012 in General
Hello,

How can I create a new dbtext in rap and asigned for example a footer band
and write an onprint event (saving into report) ?

I'm using delphi 7 an rb 10.09.


Thanks.

Comments

  • edited January 2012
    Hi Jaime,

    I would suggest first getting this working in Delphi, then moving the
    code to RAP. Once you create the TppDBText object, you can assign its
    band using the DBText.Band property. For more information on creating a
    report completely in code, see the Developer's Guide tutorials.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2012
    I found how creating reports in code but i don't see where is the
    information about to create a procedure event

    thanks.

  • edited January 2012
    Hi Jaime,

    It is not possible to create a new event handler from RAP however it is
    possible from Delphi. You could create a passthru function to do this
    if needed. Take a look at demos 41 and 42 in the main RAP demo for an
    example of creating event handlers in Delphi code.

    Best Regards,

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