Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Save in Excel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Save in Excel

 Post Reply Post Reply
Author
Message
hnhd View Drop Down
Newbie
Newbie


Joined: 10 July 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote hnhd Quote  Post ReplyReply Direct Link To This Post Topic: Save in Excel
    Posted: 15 July 2006 at 6:50am
How can I export data of Reportcontrol to Excell?
 
Back to Top
nighthawk View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 June 2004
Status: Offline
Points: 167
Post Options Post Options   Thanks (0) Thanks(0)   Quote nighthawk Quote  Post ReplyReply Direct Link To This Post Posted: 20 July 2006 at 5:04am
I've never seen any built-in way to do that but it isn't too hard to loop through the rows and columns and output the data to a tab delimeted text file.  This file can then be directly opened in Excel and it will automatically be formated correctly.
Back to Top
ianp View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 19 December 2003
Location: United Kingdom
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote ianp Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2006 at 3:34pm
If you require the excel export to retain the "look and feel" of the report control, you will need to loop through the control writing the rows and items to the rows and columns of an excel spreadsheet object, setting the formats as you go using the paintmanger and the row metrics.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.