Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 14th, 2005, 04:53 PM
john24 john24 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 4 john24 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m 22 sec
Reputation Power: 0
Tquery and clientdataset

Hi all,

I have a little problem that I hope you can help me with

I have a Tquery that is running a sql select statement, this works fine !! I then link my reporting tool to the query and it works fine !

However i have been asked to add a total column at certain points through the output.

This caused me a problem so what I thought is that I could attach my reporting tool to a clientdataset instead. Then use a while loop to go through the tquery copying the data into the clientdataset and also adding the total column where required.

BUT I just can’t initialise the Clientdataset and copy the data across. Anyone got any ideas ???? I have been told that it can be done but I just can’t figure it out !!!!

Any help would be fab !!!!!

Thanks
John

Reply With Quote
  #2  
Old December 16th, 2005, 06:44 AM
SilverDB's Avatar
SilverDB SilverDB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Romania
Posts: 173 SilverDB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 45 m 53 sec
Reputation Power: 5
Send a message via Yahoo to SilverDB
What is the reporting tool used?
I had to do something similar, but I did it inside the report.
__________________
If i've been helpful, please add to my reputation.
My unfinished site: http://www.dever.ro

Reply With Quote
  #3  
Old December 18th, 2005, 10:09 AM
john24 john24 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 4 john24 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m 22 sec
Reputation Power: 0
The reporting tool is RBuilder, i cant seem to find a way of doing it inside the report builder.

Thanks
John

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Tquery and clientdataset


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT