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

Report without a form

edited February 2002 in General
Thanks for any help.

I was wondering if there is a way to generate a report without first
creating a form? I thought maybe I could us the Template property, and have
a TObject create the report. I'm having trouble getting the code to compile
tho, since none of the report components actually exist at design time.

What I am trying to do is use RB in a .dll to simply create a .pdf file. We
are running into problems with creating the form inside the .dll, and was
hoping there was a way to create the report without creating a form.

Doug

Comments

  • edited February 2002
    What about a DataModule? same problems?

  • edited February 2002
    The form can be set to invisible if you don't want to show it. We fixed the
    old problem at Delphi design time, when using a TDatamoule. If you are
    running RB 6.0 for Delphi 6 or later, you can use reports on TDatamodules.


    Cheers,

    Jim Bennett
    Digital Metaphors Corp



  • edited February 2002
    Hi Jim,
    By your message I assume that it is still unstable for Delphi 5 (we don't
    have 6 yet)? We do have RB 6.01.

    Thanks
    Doug

  • edited February 2002
    Hi Doug,

    once more, the problem is in D5 not in ReportBuilder and I think the problem
    will be there for the next 42 years ;-).

    regards,
    Chris Ueberall;

This discussion has been closed.