Hi,
Is it possible to detect if BLOB filed generated by TIBCQuery results, are SubType 1 (text blob)?
Regards,
Macma
TIBCQuery BLOB Subtype detect
Re: TIBCQuery BLOB Subtype detect
You can detect SubType of a field in the following way:
Also, you can set the TIBCConnection.Options.EnableMemos property to True, and then BLOB fields with subtype 1 will be mapped to TMemoField and TWideMemoField, and BLOB fields with subtype 0 - to TBlobField.
Code: Select all
SubType := TIBCFieldDesc(IBCQuery1.GetFieldDesc(FieldNo)).SQLSubType;Also, you can set the TIBCConnection.Options.EnableMemos property to True, and then BLOB fields with subtype 1 will be mapped to TMemoField and TWideMemoField, and BLOB fields with subtype 0 - to TBlobField.
Re: TIBCQuery BLOB Subtype detect
Thank You for respond.
Best Regards,
Macma
Best Regards,
Macma
Re: TIBCQuery BLOB Subtype detect
Feel free to contact us if you have any further questions.