![]() |
problem in SetVirtualMode |
Post Reply ![]() |
Author | |
xzoom ![]() Newbie ![]() Joined: 06 October 2009 Location: Canada Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 09 October 2009 at 9:40am |
Hi, how can i insert data in to records after i set VirtualMode(100000) with out Repeat the data in other empty records in C#
Example: i want to insert 10 data record in to report control that virtualMode is 100000 and other record well be empty Note: pls give example |
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
Set Virtual Mode (10). Next time when you will insert new record - SetVirtualMode(11) and so on. No reason to use empty records.... |
|
![]() |
|
xzoom ![]() Newbie ![]() Joined: 06 October 2009 Location: Canada Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
sorry can u give me example pls
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
Follow same logic as VirtualMode ListView - every time you add row - you need to increase rows count, if delete row - decrease it.
In our case SetVirtualMode play same role - {ReportControl odl syntax: SetVirtualMode([in] int RowCount, [in, optional] int FieldCount)}
|
|
![]() |
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 |