Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Is there an Id field?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Is there an Id field?

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

Joined: 21 November 2006
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote elmsoftware Quote  Post ReplyReply Direct Link To This Post Topic: Is there an Id field?
    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
Back to Top
cmaxmedia View Drop Down
Groupie
Groupie


Joined: 22 April 2006
Location: Austria
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmaxmedia Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 12:58pm
Hi John,
 
i am using the Row.Record.Tag Property. Try This
Back to Top
elmsoftware View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2006
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote elmsoftware Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
cmaxmedia View Drop Down
Groupie
Groupie


Joined: 22 April 2006
Location: Austria
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmaxmedia Quote  Post ReplyReply Direct Link To This Post 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.
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: 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
Back to Top
elmsoftware View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2006
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote elmsoftware Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2007 at 10:09am
Much appreciated.
 
All the best,
 
John Lueders
Elm Software
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.219 seconds.