Solved

TDBGrid and Multiselect with QuickReport

Posted on 1997-03-11
4
309 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sending Gmail through Delphi 3 110
Multiple image collision 13 76
Delphi and Access based Enumeration 9 64
DBCtrlGrid, Delphi, Scroll 7 15
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 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