Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - problem in SetVirtualMode
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

problem in SetVirtualMode

 Post Reply Post Reply
Author
Message
xzoom View Drop Down
Newbie
Newbie


Joined: 06 October 2009
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote xzoom Quote  Post ReplyReply Direct Link To This Post Topic: problem in SetVirtualMode
    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

 
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2009 at 11:20am

Set Virtual Mode (10). Next time when you will insert new record - SetVirtualMode(11) and so on. No reason to use empty records....

Back to Top
xzoom View Drop Down
Newbie
Newbie


Joined: 06 October 2009
Location: Canada
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote xzoom Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2009 at 2:10pm
sorry can u give me example pls
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2009 at 1:46pm
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)}
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.