Print Page | Close Window

Record.AddItem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=5732
Printed Date: 19 September 2024 at 12:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Record.AddItem
Posted By: cryo75
Subject: Record.AddItem
Date 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



Replies:
Posted By: sserge
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net