Subject Columns information
Author Marc Leclerc
Hi,

I am trying to gather information on columns. I have found several places to get some info but I am still missing the field type and size. I am trying to work at the TIB_BDataset level. FieldDefs[] does not seem to be accessible.

for I := 0 to Dataset.Fields.ColumnCount -1 do
begin
memo1.Lines.Add(Dataset.Fields.Columns[i].FieldName);
memo1.Lines.Add(Dataset.Fields.Columns[i].DisplayName);

end;

What i am missing is the type (char,int,num,boolean...) and size. I want to dismiss BLOB, BINARY and setup an editbox mask/validation according to the type of data. And if possible to get the value used for booleans.


Thanks




[Non-text portions of this message have been removed]