Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - AddRecord add records on the top
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

AddRecord add records on the top

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


Joined: 20 August 2020
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote yangyanhui Quote  Post ReplyReply Direct Link To This Post Topic: AddRecord add records on the top
    Posted: 11 January 2021 at 4:41am
HI,I have a reportctrl. I want to add records at the top of the reportctrl(no sort can be used as added datas are random).How can I realize it?
thanks
Back to Top
cluster View Drop Down
Groupie
Groupie


Joined: 22 January 2015
Status: Offline
Points: 91
Post Options Post Options   Thanks (0) Thanks(0)   Quote cluster Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2021 at 4:06pm
Hi,

I think this function could solve your problem!

void AddRecordEx(CXTPReportRecord* pRecord, CXTPReportRecord* pParentRecord = NULL,
                    int nRowChildIndex = -1, int nRecordChildIndex = -1)

Windows 7
Visual Studio 2013
CodeJock 18.6
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.109 seconds.