Solved

Quick Reports with no database

Posted on 2001-06-17
3
242 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
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now