Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - how to rearange rows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to rearange rows

 Post Reply Post Reply
Author
Message
vjedlicka View Drop Down
Senior Member
Senior Member


Joined: 04 September 2007
Status: Offline
Points: 122
Post Options Post Options   Thanks (0) Thanks(0)   Quote vjedlicka Quote  Post ReplyReply Direct Link To This Post Topic: how to rearange rows
    Posted: 20 March 2014 at 4:24am
I am trying to change the order of rows in a report.

I am trying this code, but do not know how to re-insert a record previously removed. What is the difference between a record and a row?



CXTPReportRecordItem* pItem = m_wndReportCtrl.GetFocusedRecordItem();
CXTPReportRecord* pRec = pItem->GetRecord();
m_wndReportCtrl.RemoveRecordEx(pRec);
m_wndReportCtrl.InsertRow(6, pRec);
Thank you
Vaclav
---------------------
ToolkitPro 20.1.0
VS2010-2022, Windows 11
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.250 seconds.