Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Row Record ID ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Row Record ID ?

 Post Reply Post Reply
Author
Message
John31 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post Topic: Row Record ID ?
    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
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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. Then use FindRow to get a corresponding Row object.

--
WBR,
Serge
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.078 seconds.