using reportcontrol to store document data? |
Post Reply |
Author | |
unknow
Groupie Joined: 14 January 2009 Location: Belgium Status: Offline Points: 62 |
Post Options
Thanks(0)
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 ;)
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
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
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |