Print Page | Close Window

How do I save/restore the report layout?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=7119
Printed Date: 22 November 2024 at 8:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do I save/restore the report layout?
Posted By: SvenC
Subject: How do I save/restore the report layout?
Date Posted: 13 May 2007 at 6:26am
Hi,
 
is there a builtin mechanism to save and restore the layout of a report control? I'd like to store different report layouts for one application so it would be nice if I could use some name for saving and loading different layouts. Like reportCtrl.SaveLayout(_T("myLayout");
 
Regards,
SvenC



Replies:
Posted By: sserge
Date Posted: 13 May 2007 at 2:43pm
Yes, try looking at the ReportSample application, methods: CReportSampleView::LoadReportState() and CReportSampleView::SaveReportState()

--
WBR,
Serge


Posted By: SvenC
Date Posted: 14 May 2007 at 1:44am
Hi Serge,
 
exactly what I was looking for.
 
Thanks a lot,
Sven



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net