?
Solved

TDBGrid and Multiselect with QuickReport

Posted on 1997-03-11
4
Medium Priority
?
344 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 50 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

862 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