Solved

Quickreports and loading images from an DB

Posted on 2004-10-27
276 Views
Last Modified: 2013-11-22
Hi,

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
marioway
0
Question by:marioway
    5 Comments
     
    LVL 12

    Expert Comment

    by:esoftbg
    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 ....)

    Emil
    0
     

    Author Comment

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

    Marioway
    0
     
    LVL 12

    Expert Comment

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

    Accepted Solution

    by:
    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
    0
     

    Author Comment

    by:marioway
    Hi

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

    See you later

    thx
    Marioway
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
    In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video discusses moving either the default database or any database to a new volume.

    856 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

    13 Experts available now in Live!

    Get 1:1 Help Now