![]() |
Row Record ID ? |
Post Reply ![]() |
Author | |
John31 ![]() Groupie ![]() ![]() Joined: 08 December 2005 Location: United States Status: Offline Points: 70 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
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. Then use FindRow to get a corresponding Row object. -- WBR, Serge |
|
![]() |
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 |