Solved

Quick Reports with no database

Posted on 2001-06-17
3
245 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

752 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