Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Remove Row from Report Control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Remove Row from Report Control

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


Joined: 29 September 2004
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote aaxemen Quote  Post ReplyReply Direct Link To This Post Topic: Remove Row from Report Control
    Posted: 06 December 2004 at 4:19pm

Does anyone know how to remove a row from a report control? I've tried:

 m_wndReport.GetRows()->RemoveAt(0);
 m_wndReport.Populate();

And nothing happens. Stepping into the RemoveAt method shows that the row gets deleted, but the report does not change.

Thanks,
Jeff

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2004 at 1:12am

You must delete Record:

m_wndReport.GetRecords()->RemoveAt(0);
m_wndReport.Populate();

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.143 seconds.