Página 1 de 1

How to identify BlobField?

Publicado: Jue Sep 10, 2009 4:31 pm
por Spirin Sergey
Hello,
I need in code to identify - is TDataField is BlobField (contain a binary
data) or not. How can I do it in Xailer-syntax? Something like:
for x := 1 to oDataSet:FieldCount()
if oDataSet:aFields[x] ...is BlobField //??
........
else
........
endif
next
---
Spirin Sergey.
"Paritet Soft" Company.
FRH sales:http://www.paritetsoft.ru/frh.htm
FRAX sales:http://www.paritetsoft.ru/frax.htm

How to identify BlobField?

Publicado: Vie Sep 11, 2009 10:25 am
por Spirin Sergey
In my working exampes it seems such code works ok:
for x := 1 to oDataSet:FieldCount()
if oDataSet:aFields[x]:nSQLType = 205
But I am not sure that it's common case. Where is the list of all possible
values for :nSQLType placed?
---
Spirin Sergey.
"Paritet Soft" Company.
FRH sales:http://www.paritetsoft.ru/frh.htm
FRAX sales:http://www.paritetsoft.ru/frax.htm
"Spirin Sergey" <spirin@paritetsoft.ru> ñîîáùèë/ñîîáùèëà â íîâîñòÿõ
ñëåäóþùåå: news:[email=4aa90db8@svctag-j7w3v3j....]4aa90db8@svctag-j7w3v3j....[/email]
> Hello,
>
> I need in code to identify - is TDataField is BlobField (contain a
> binary data) or not. How can I do it in Xailer-syntax? Something like:
>
> for x := 1 to oDataSet:FieldCount()
> if oDataSet:aFields[x] ...is BlobField //??
> ........
> else
> ........
> endif
> next
>
> ---
> Spirin Sergey.
> "Paritet Soft" Company.
> FRH sales:http://www.paritetsoft.ru/frh.htm
> FRAX sales:http://www.paritetsoft.ru/frax.htm
>