Print Page | Close Window

Is there an Id field?

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=6076
Printed Date: 19 September 2024 at 1:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is there an Id field?
Posted By: elmsoftware
Subject: Is there an Id field?
Date Posted: 10 January 2007 at 9:18pm
I am looking to convert my current grids in my application to the Xtreme Report Control.
 
Inquiry
In my current grid control, when loading records from a database table, I am able to assign a 'Key' or 'ItemData' value to each row in the grid.
I looked for this in the 'Online Help' but I did not see this.
 
What is the recommended way of assigning a unique Id to each row in the Xtreme Report Control?
 
Currently, I make the first column the holder of the 'Id' and make this column invisible.
 
All the best,
 
John Lueders
Elm Software



Replies:
Posted By: cmaxmedia
Date Posted: 11 January 2007 at 12:58pm
Hi John,
 
i am using the Row.Record.Tag Property. Try This


Posted By: elmsoftware
Date Posted: 11 January 2007 at 2:01pm
Thank you for your feedback.
 
I would like to recommend to CodeJock to implement an 'Id' property to uniquely identify rows in their ReportControl.  Similar to the 'Id' property in their PropertyGrid control.
 
All the best,
 
John Lueders
Elm Software


Posted By: cmaxmedia
Date Posted: 11 January 2007 at 3:10pm
Hi John,
 
What's about the Record.Row.Index property? I do not use this Prop because i prefer alpha-nums Matchkeys.
 
Kind regards.


Posted By: sserge
Date Posted: 11 January 2007 at 5:48pm
Do not relay on Row indexes. Note that Rows are recreated frequently.

Better to use Record.Tag property. Or at least Record index.

--
WBR,
Serge


Posted By: elmsoftware
Date Posted: 12 January 2007 at 10:09am
Much appreciated.
 
All the best,
 
John Lueders
Elm Software



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