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

plugins for the designer

edited November 2003 in General
is it possible to create plugins for the report designer, so I can directly
save my reports to a mySQL database ?

Paul

Comments

  • edited November 2003
    You don't need a plug in for this--add ppDsgner to your uses clause. Now in
    the designer's Show event add the following code:
    procedure TForm1.ppDesigner1Show(Sender: TObject);
    var
    lDW: TppDesignerWindow;
    begin
    lDW := TppDesignerWindow(Sender);
    lDW.OnCustomSaveDoc := MySave;
    end;

    procedure TForm1.MySave(Sender: TObject);
    begin

    end;

    Setup your custom saving of the report :-)

    Enjoy

    Ed Dressel
    Team DM
  • edited November 2003
    I was talking about my designer, the one in delphi

    Paul
  • edited November 2003
    > I was talking about my designer,

    The designer is both in Delphi and your run time app. And in this case, it
    is not possible. You may want to send a request to support. (I have long
    wanted a better-structured, extentable report designer). You may be able to
    sub-class the designer and over ride it as you want.

    Ed Dressel
  • edited November 2003

    I think Ed misunderstood your question.

    You need a DADE plug-in to that supports the specific type of data
    connectivity components you are using to connect to mySQL.

    If you are using Delphi's dbExpress, RB includes a plug-in for dbExpress. On
    the friends | Data | DADE Plug-ins section of our web site there is a plugin
    for the MySQLdac components that was created by one of our customers.





    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.