Quickreports and loading images from an DB

Posted on 2004-10-27
Medium Priority
Last Modified: 2013-11-22

Can anyone help me on this:

I use a Paradox database: offnr: integer
                                       fotos: Graphic

After appending records I have:  1 - graphic1
                                                1 - graphic2
                                                1 - graphic3

Now I would like to put the images (graphic 1,...) in a quickreport, but within the same band, one next to the other. Can this be done at runtime , creating QRImages one after the other, as I run through the database ?

thx alot
Question by:marioway
  • 2
  • 2
LVL 12

Expert Comment

ID: 12423658
Hi marioway, nice to meet you !

Is it a must to be used a QuickReport ? (QuickReport orders images from top to bottom - vertically)
(Because I can put images from left to right using another way ....)


Author Comment

ID: 12424166
Hi, and what is "the other way" ? I am using a Quickreport.

LVL 12

Expert Comment

ID: 12424386
If you need to print images the QuickReport is a good choice, but if you need only visualization I could do it by ScrollBox ....

Accepted Solution

vadim_ti earned 2000 total points
ID: 12424621
you can do it in different ways.

1) the simplest is to use Page.Columns property of Quick report if the images is only thing you need to print,
this way you can use TQRDbImage component
2)you can place  number of TQRImage components in the band (lets say 5).
do not link QR to dataset,
use QuickReport onNeedData Event to browse through database,
and not return from it till you reach eof or fill 5 images
3)you can use QRSubDetail with its onNeedData event in similar way

Author Comment

ID: 12427523

Thank you very much vadim ti. I used a detail band; column = 15, forcenewcolumn = true. And it works fine.

See you later


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
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…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…

593 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