Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

Quick Reports with no database

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
ggets
Asked:
ggets
1 Solution
 
GreymanCommented:
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
 
danyszCommented:
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
 
ggetsAuthor Commented:
Knew it was someting easy - Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now