 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
philip Guest
|
Posted: Wed Dec 07, 2005 3:03 pm Post subject: fields in table and dbGrid |
|
|
Hello,
I want to upgrade at runtime the fieldlist for the tablecomponent ( because
users can add or delete fields at runtime to his table)
and show all the fields of the table in a grid ( dbisamtable)
I tried a lot of code in the before open form the tablecomponent
......
tblloc.FieldDefs.Clear;
tblloc.FieldDefs.update;
tblloc.FieldList.Update;
smdbgrid4.Columns.RebuildColumns;
.....
but the new field(s) are not added to my fieldlist automatiquely
when I go to the component ad design time I can add the field. But I must de
done at runtime.
some idea ?
Thanks
Philip Dierickx
[email]philip.dierickx (AT) imseuro (DOT) be[/email]
www.imseuro.be
|
|
| 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
|
|