Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - How do I save/restore the report layout?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I save/restore the report layout?

 Post Reply Post Reply
Author
Message
SvenC View Drop Down
Groupie
Groupie


Joined: 02 February 2007
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote SvenC Quote  Post ReplyReply Direct Link To This Post Topic: How do I save/restore the report layout?
    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
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2007 at 2:43pm
Yes, try looking at the ReportSample application, methods: CReportSampleView::LoadReportState() and CReportSampleView::SaveReportState()

--
WBR,
Serge
Back to Top
SvenC View Drop Down
Groupie
Groupie


Joined: 02 February 2007
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote SvenC Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2007 at 1:44am
Hi Serge,
 
exactly what I was looking for.
 
Thanks a lot,
Sven
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.125 seconds.