my comprehension about the "SetVirtualMode" |
Post Reply |
Author | |
heartofdra
Newbie Joined: 02 November 2006 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 02 November 2006 at 3:49am |
According to the explainment to freediver211 , I think the "VirtualMode" is just a method to copy the "data " from the database to the "Screen "—— it is not need to get the data to the "ReportControl ", and when needed , it can get the data repeatly from the database, for instance , in your demo , though you were not get a data form the "third part ".
but there could be some prolbem by comparing to other grid controls . In your demo , your printf the grid like this: in a row , print the column from the left to the right , when a row has finished ,begin a new row , print the column from left to right, …………………… 。 The problem is ,in you function that do above , the print sequence has been "defined" , how can I get/set "the one" among the table ???
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Call RedrawControl and all visible report cells will be repopulated with the new data from your methods.
|
|
heartofdra
Newbie Joined: 02 November 2006 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
then how to change "the one" among the table ??? ?????
|
|
heartofdra
Newbie Joined: 02 November 2006 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Is my comprehension is right or wrong ?????
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
yes, you think correct, but just look further -- you change your "the one" somewhere in your data; all others left the same; on every new redraw, or when it is necessary, Report asks you values of all those items, including old unchanged ones, and new changed ones.
-- WBR, Serge |
|
heartofdra
Newbie Joined: 02 November 2006 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
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 |