 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Anja Guest
|
Posted: Mon Nov 24, 2003 8:20 am Post subject: Primary Key in Ttable descendant |
|
|
Hi folks,
I'm trying to create a descendant of TTable with the ability to return
the value of the current primary key.
So I wanted to create a component TasTable with read-only property
PrimaryKey, which then I could use in a statement like
MyTable.SetRange( Mytable.PrimaryKey, Mytable.PrimaryKey)
to filter the range to only the current record.
My problem : which type does my property has to have?
So: property PrimaryKey : ????
read GetPrimaryKey ;
Be aware that a Primary key can be composed of several values of
different types.
Thanks for your replys.
Anja.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|