New dataset creation at runtime

I can't find anything on Google so it must be very simple but I just don't see it. What do I want: Give the user the ability to create and add datasources (=sql statements). It's not the problem for me to generate tables at runtime and connect them to my sqlconnection and even create the tfrDBDataset link but is there some mechanisme inside fastreport which saves this defenition or must I recreate these tables myself before opening of the report? What I'm looking for is functionality as provided by the TQuickrepDesigner from THSD. There users can start with a complety empty report and just start creating their tables with sql statements which are connected in my programm to the correct database.

Comments

  • I found it out, just add a dataset component at designtime, at runtime add a dialog form to the report, drop a datasetcomponent and go on...

    Seems like they have a new customer at FastReport!

    Man what a stress I had with Quickreport, here you can combine portrait with landscape, columns wit normal layout without doing the most unbelievable tricks to get it going!

    Any pitfalls?
  • *uck, turned out that I was evaluating 2.5. ppfff.....start again!

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.