Solved

TDBGrid and Multiselect with QuickReport

Posted on 1997-03-11
4
298 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
Comment Utility
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
Comment Utility
F
0
 

Accepted Solution

by:
nicsom earned 25 total points
Comment Utility
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
Comment Utility
F
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

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…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 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

12 Experts available now in Live!

Get 1:1 Help Now