Solved

Quick Reports with no database

Posted on 2001-06-17
3
244 Views
Last Modified: 2010-04-06
Hi All...

How do I use quick reports with no database? I want to add detail bands from a collection of strings. Each detail band will only have two Labels on them, but as I say, I will need to create new detail bands from a list of strings..

Im sure its easy....

Thanks
0
Comment
Question by:ggets
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
Greyman earned 100 total points
ID: 6200570
Create your detail band with label controls on it, and then we will set the text property each time the detail band prints.

To get that to happen, go to the property sheet of the report itself and implement the OnNeedData event.  Quickreports will keep creating detail bands and keep calling the OnNeedData event until you set the MoreData flag to false.  (You will need to implement some properties to keep track of your position in the StingList.)

Note that when you set MoreData to false, no detail band is created, so either set captions or set MoreData to false, not both.
0
 
LVL 2

Expert Comment

by:danysz
ID: 6200862
hi

u can do something more simple...

take from rx package a memotable ( it's acting like a table but is only on the runtime ) and u can feel it with all the data ... and just connect the quickreport to the table ...

daniel
0
 

Author Comment

by:ggets
ID: 6201315
Knew it was someting easy - Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question