Print Page | Close Window

Row Record ID ?

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=3585
Printed Date: 29 March 2024 at 11:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Row Record ID ?
Posted By: John31
Subject: Row Record ID ?
Date Posted: 01 February 2006 at 8:01am

I am trying to replace a gird control with the ReportControl but I am having trouble figuring out how to do one thing.  With the grid control I can assign a record id, which is GUID from the DB, to each row.  Then I am able to find a row in the collection using a FindRow function with the GUID.  I can't see how to make this work with the report control using the FindRow. 

Any ideas are appreciated

 



-------------
Regards

John Layton



Replies:
Posted By: sserge
Date Posted: 04 February 2006 at 7:04am
Hi,

You can create an additional invisible column which will be associated with a RecordItem contaning your GUIDs (easiest way as strings). For example, just store guids in one of sample application columns like CC.

Then write a method to retrieve a Row by GUID. Firstly you'll have to identify a Record -- it could be done like described at http://forum.codejock.com/forum_posts.asp?TID=3520 - http://forum.codejock.com/forum_posts.asp?TID=3520 . Then use FindRow to get a corresponding Row object.

--
WBR,
Serge



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