Issues with TVirtualTable
Posted: Thu 24 Jul 2014 14:15
I use TVirtualTable a lot. I've found a couple of issues:
1) It does not support ftOraTimeStamp field type. (!!!)
2) FindField(UnicodeString) is not properly implemented (always returns NULL if the VT is closed), FieldDefs.Find() is an option but it raises an exception if the field is not there... so usually I scan FieldDefs with a for loop
Question:
How do I clear all field definitions? DeleteFields? Fields->Clear()? FieldDefs->Clear()?
Feature Requests:
1) CopyField(TField* , UnicodeString fieldname) copies a tfield with the option to change its name
2) DeleteFieldIfPresent
1) It does not support ftOraTimeStamp field type. (!!!)
2) FindField(UnicodeString) is not properly implemented (always returns NULL if the VT is closed), FieldDefs.Find() is an option but it raises an exception if the field is not there... so usually I scan FieldDefs with a for loop
Question:
How do I clear all field definitions? DeleteFields? Fields->Clear()? FieldDefs->Clear()?
Feature Requests:
1) CopyField(TField* , UnicodeString fieldname) copies a tfield with the option to change its name
2) DeleteFieldIfPresent