![]() |
how to export ReportControl data |
Post Reply
|
| Author | |
lwg191
Newbie
Joined: 05 June 2006 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: how to export ReportControl dataPosted: 05 June 2006 at 2:15am |
|
how export ReportControl data to a txt file or a excel file? thanks |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 June 2006 at 9:32am |
|
Hi,
First of all you can simply copy/paste your records from/to Excel and txt files. If you'd like to do it programmatically, please specify your environment. -- WBR, Serge |
|
![]() |
|
lwg191
Newbie
Joined: 05 June 2006 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2006 at 9:14am |
|
sserge: I'd like to do this programmatically,my develop environment is VC++7.0+Win2000. |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2006 at 5:37pm |
|
An example of storing Report Control data in XML file exist in the ReportSample. See method CReportSampleView::SaveReportState, or below:
With other CXTPPropExchange derived classes you can save data to other formats. There are no native support for Excel files, but it can easily open generated XML file. -- WBR, Serge |
|
![]() |
|
lwg191
Newbie
Joined: 05 June 2006 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2006 at 8:33pm |
|
thank you
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |