Page 1 of 1

create colums at runtime

Posted: Fri 21 Nov 2008 18:47
by fcodebue
I need to create some columns at tunrtime. what I have to do? some like

vt.columns.clear;
vt.columns.add('col1');
....

Posted: Mon 24 Nov 2008 08:26
by Plash
You can use the following code:

VirtualTable.AddField('COL1', ftString, 30);
...

Posted: Tue 25 Nov 2008 06:40
by fcodebue
Plash wrote:You can use the following code:

VirtualTable.AddField('COL1', ftString, 30);
...
thanks a lot plash