image image Home About Products Downloads Support Links Contact
image

IntraWeb
» News
» Blog
» General features
» Why IntraWeb?
» How does IW Work?

Bundled Users
» Delphi 7 Users 
» Delphi 2005 Users
» BDS 2006 Users
» Delphi 2007 Users

Technical info
» Why IntraWeb?
» Comparison with
   Other Web Tools

Resources
» Getting Started
» Documentation
» Articles
» Books
» Third Parties
» Tutorials
» Training

What others say
» Case Studies
» Companies using IW
» Demos
» Magazine Reviews
» User Quotes

Miscellaneous
» Just for Fun

Registered Users
» Bug System
» Login





Copyright
2002 - 2008
Atozed Computer
Software Ltd.

image
Buy Online   Download Support  FAQ Questions
Atozed Home  »  IntraWeb  »  FAQ

Rave Newsgroup Post

In addition to this newsgroup post, a Rave Demo is available.


Subject: Re: ReportBuilder or Rave Reports
From: "Jerry Clancy" 
Newsgroups: atozedsoftware.intraweb.third-party

Here are some steps to try with the code-based Rave components:

* Drop a ReportSystem component on your Datamodule.
* Set this property: ReportSystem1.DoNativeOutput := False;
* Set the appropriate output parameters to file, not printer.
* Kill Status reporting, anything that would locally pop a form
* Set the FileName and path -- use the "files" directory for output, setting
type to .rtf or .htm, as appropriate to which report type you are
generating.
* Drop an RPRenderHTML and/or an RPRenderPDF component on the form
* Set the Render object for the specific report, eg
    ReportSystem1.RenderObject := RPRenderPDF1;
* Code your ReportSystem events (BeforePrint, Header, Print, etc.)
* Execute them with ReportSystem1.Execute.
* Return the generated file with the following:
  const
    AIPOptions: string =
'toolbar=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,location=no,d
irectories=no,width=780,height=580';
  AIPNewWindow: string = 'NewWindow("%s", "%s", "%s");';   { A mask for the
Format }
....
....
    AIPURL := WebApplication.URLBase + '/filesNC/' + sFileName;
    AddToInitProc('NewWindow("' + AIPURL  + '", "Agenda", "' + AIPOptions
+'");');

There's your blueprint.

Jerry



CodeGear - Where Developers Matter