Bug: GetData Result Error for Read SQLServer Binary Field

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
hlbzhx
Posts: 19
Joined: Tue 03 Nov 2009 03:29

Bug: GetData Result Error for Read SQLServer Binary Field

Post by hlbzhx » Tue 03 Nov 2009 04:30

GetData Result Error for Read SQLServer Binary Field with GetData method

GetData Result more 4 Bytes Read Binary Field than Read Other Style Field

Buffer for GetData Result = GetData Buffer + 4Bytes(DataSize)??? When Read Binay Field

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 03 Nov 2009 09:37

The GetData method returns data in the internal format as they are stored in recordset.

You should not use this method. Use the Value property to get data as variant array.

hlbzhx
Posts: 19
Joined: Tue 03 Nov 2009 03:29

Post by hlbzhx » Thu 05 Nov 2009 00:47

thanks

I'll try...

Post Reply