Delete Field Bug
Posted: Fri 05 Feb 2010 12:45
Hello Friends.
How to delete field from VirtualTable in runtime?
All functions below:
seem to free values at most, leaving field in table.
any help?
How to delete field from VirtualTable in runtime?
All functions below:
Code: Select all
with BA.FieldDefs do Delete( IndexOf('aktywne') );
TVirtualTable(BA).DeleteField('aktywne');
BA.FieldDefs.Find('aktywne').Free;
BA.FieldDefs[BA.FieldDefs.IndexOf('aktywne')].Destroy;
any help?