<< ibec_ds_FieldType | IBEBlock | ibec_ds_First >>

ibec_ds_FieldTypeN

Returns the native type of specified field.

Syntax

  function ibec_ds_FieldTypeN(Dataset : variant; Field : variant) : variant;

Example

  execute ibeblock
  returns (FieldName varchar(31), FieldType varchar(100))
  as
  begin
    select * from rdb$fields
    where (1 = 0)
    as dataset RdbFields;

    iCount = ibec_ds_FieldCount(RdbFields);
    i = 0;
    while (i < iCount) do
    begin
      FieldName = ibec_ds_FieldName(RdbFields, i);
      FieldType = ibec_ds_FieldTypeN(RdbFields, i);
      suspend;
      i = i + 1;
    end;

    close dataset RdbFields;
  end

See also:
ibec_ds_FieldName
ibec_ds_FieldType

back to top of page
<< ibec_ds_FieldType | IBEBlock | ibec_ds_First >>