Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Record.AddItem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Record.AddItem

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


Joined: 04 June 2006
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote cryo75 Quote  Post ReplyReply Direct Link To This Post Topic: Record.AddItem
    Posted: 09 December 2006 at 3:33am
Hi,
 
Why do we have to call AddItem every time we need to add an item to the record object?
 
Wouldn't it be easier (and less code) that the number of items added are the same as the number of columns, and these items are added automatically to the record object when we add a record to the reportcontrol?
 
Comments?
 
Ivan
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: 12 December 2006 at 3:14am
Well, a reasonable question... That is currently working so in order to be compartible with the same schema in C++/MFC version of the control.

We'll consider adding methods like following which will do this job automatically:

    ReportControl.AddRecord
    ReportControl.InsertRecord( Index )


--
WBR,
Serge
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.