Update problem with CXTPReportControl |
Post Reply |
Author | |
pmahonen
Newbie Joined: 22 April 2005 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 22 April 2005 at 7:23am |
I am building application that sets CReportRecord -controls(data) to CXTPReportControl (view). I have a thread that brings new data to view continuously(updates view) so that it removes old data and sets new data to view. Tell me please, is there a way to prevent this kind of error? |
|
Jose5
Groupie Joined: 07 June 2005 Location: United States Status: Offline Points: 17 |
Post Options
Thanks(0)
|
I am having the same problem hope to have some help
|
|
IT WASENT ME!!!
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
In secondary thread create the new record object(s) and then post a user defined message to the report control (or its parent). In my app I'm using the doc/view architecture and so I handle the posted message in doc object and then update the report view by calling UpdateAllViews(). This works very well and neither performance issues nor occassional exceptions come up when I update or insert several records per second. |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |