Print Page | Close Window

Help! Select Row via Code - ReportControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=2643
Printed Date: 23 April 2024 at 9:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Help! Select Row via Code - ReportControl
Posted By: bokinet
Subject: Help! Select Row via Code - ReportControl
Date Posted: 27 July 2005 at 3:25am

Hello,

Does anybody knew how to resolve next issue:

I want to do simple selection/shading of new record or existing record in ReportControl from Code.

Also, how to find some record in ReportControl or to check if some record already exists without to write code like is for each code stuff for ReportControl. I'm rendering over 40.000 records to ReportControl and checking via code from VB could incrast the performance of application on which I'm working on...

I hate, when somebody do the greate job, specialy make nice GUI and on basic stuff faild like is simple locating existing record or item in object collection...

Thanks!

 




Replies:
Posted By: SuperMario
Date Posted: 27 July 2005 at 7:26am
So you want to select a record?  You want it to appear as if someone just clicked on it?  If so, then you can use ReportControl.FocusedRow to specify the row to select.  If you want to select multiple rows you can use the ReportControl.SelectedRows.Add method to add selected rows.

Currently there is no method to find a record, but in the next release we added ReportRows.FindRow(Record As ReportRecord) method.  The next release should be available in 2-3 weeks.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net