Print Page | Close Window

using reportcontrol to store document data?

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=14867
Printed Date: 19 May 2024 at 11:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: using reportcontrol to store document data?
Posted By: unknow
Subject: using reportcontrol to store document data?
Date Posted: 29 July 2009 at 5:00pm

Me again, this time with a general question using reportcontrol.

The software I am developping has a report control view;
the report control provide a list of all the data from the document, each entry being composed of several fields, displayed in the reportcontrol.
 
In the previous version of my software, I was using a class to handle all entries & data, which were then displayed in a listview.
 
Question is:
 
shoud I still do the same, that is use a CArray of items to store my data, and add them to the reportcontrol for displaying only;
OR
directly add data to the reportcontrol (using the same method as the "Report Sample") and do not manage any class/items outside
 
Any advice ?? That will really drive the internal structure of my software and the answer is crucial ;)
 
 
 
 



Replies:
Posted By: mdoubson
Date Posted: 31 July 2009 at 11:40am
I think that better to use your own data model and bind report control to it or use virtual mode and supply needed pieces of data from your model on demand

-------------
Mark Doubson, Ph.D.



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