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
Solved

TDBGrid and Multiselect with QuickReport

Posted on 1997-03-11
4
314 Views
Last Modified: 2013-11-22
I have a TDBGrid with some data fields in it. Then I set the multiselect option to true in order to be able to choose several fields in the grid. And now, I want to tell QuickReport that he has to print a report I've previously created taking the data from the fields i have selected in the grid. How can I do that?
For Example: I have a grid with customers and I select 3 customers and I want my report (that prints the personal information of a customer) to print the information of only those 3 customers I have selected.
0
Comment
Question by:sime
  • 2
4 Comments
 
LVL 3

Expert Comment

by:mheacock
ID: 1334756
I have no answer, but you might want to delete one of your questions...it'll save you 50 pts.
0
 

Author Comment

by:sime
ID: 1334757
F
0
 

Accepted Solution

by:
nicsom earned 25 total points
ID: 1334758
Sime,

Why don't you base your QuickReport on the result of a TQuery, which gives you the three customers (in this case) as a result.

You'll have to build the SQL-statement on-the-fly.

If you have problems with implementing this solution, let me know. I'll send you an example.

Greetz,
Nic.
0
 

Author Comment

by:sime
ID: 1334759
F
0

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

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 96
Making delphi communicate with a c# service 16 111
how can i search if string exist in array ? 3 63
PHP preg_replace code convert to Delphi 14 66
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…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

860 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