Solved

Quick Reports with no database

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

18 Experts available now in Live!

Get 1:1 Help Now