I really need help...

I am not holding my breath, but maybe some kind soul could explain to me the basics of using the FastReport...
I managed to get a blank page converted to PDF, Excel etc (well, not quite blank, it has a logo, title, frame around the page, a little picture etc. etc.).

But, for the life of me, I can't figure out how to output a table...I was RTFM for the last 8 hours - and it seems that either I am missing some basic concept implemented in FastReport, or the thing is really overcomplicated.

What I need to do - I wrote a program which produces some values, some of them as a matrix say 5x5. I need to create a PDF page with this output. How do I do that ?

I tried to follow the manual - specifically "Simple report of the "List" type". I am not getting very far - the ADO table does not exist when I switch to "Data" page. I tried to put the ADO table component on the form - no cigar.

I know that I am missing something, but the whole concept seems to me very far from the KISS principle. Well, I do not mind, just need someone to push me in the right direction. Once I understand the concept, I will manage on my own.

I am using the Designer - I want to create the page, then just read it using the Report component and insert values where they should be. Sounds easy, is not.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:48PM
    the datapage in a report is for internal report data controls the required tfrxadocomponents from the delphi tool pallete must be on the delphi form or atleast the unit in the uses clause.
    best to start by compiling and running the main demo app.
    look at the various reports and how they were designed.
    the basic list report in the main demo is connected to the table using a tfrxdbdataset in the datamodule of the app.
    generally read the programmers manual as working from delphi and the users manual as working inside the report.
  • edited 4:48PM
    gordk wrote: »
    the datapage in a report is for internal report data controls the required tfrxadocomponents from the delphi tool pallete must be on the delphi form or atleast the unit in the uses clause.
    best to start by compiling and running the main demo app.
    look at the various reports and how they were designed.
    the basic list report in the main demo is connected to the table using a tfrxdbdataset in the datamodule of the app.
    generally read the programmers manual as working from delphi and the users manual as working inside the report.


    Thanks a lot - I already figured this out [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I know now how to hook up an array in my program to the databand - prints very nicely ! But - I was very close to uninstalling and trying something simpler. I am impressed with the way it works and the capabilities - but things are done in a very cryptic way and the manual does not give the required info. Of course - there is the source code for the components, one can go and inspect the code to figure out what is inside the components and how they work - but this is very laborious exercise. Delphi-style Properties and Methods listing would be very helpful - or maybe I haven't found it yet ? At any case - sincere thanks for responding, it is good to know that someone cares enough to donate his time. I am not a total newbie, I have been with Delphi from day 1 (version 1.0 Beta) - but have no much experience using component libraries. Thanks again ![/img]

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.