TVariantField not supported in SaveToFile/SaveToStream

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
yeohray
Posts: 56
Joined: Mon 26 Mar 2007 01:25

TVariantField not supported in SaveToFile/SaveToStream

Post by yeohray » Tue 11 Sep 2007 11:20

Are there any plans to support the saving and loading of TVariantField in the future? These types of fields are unfortunately quite common in the Microsoft SQL Server world e.g. SELECT SERVERPROPERTY('productversion'), SELECT DATABASEPROPERTYEX('IsFulltextEnabled')

The workaround is to cast the value to a string type, but users don't want to have to always do that.

Thanks.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 12 Sep 2007 13:21

Try to use the SaveToXML method instead. It has limited support for saving/loading variant fields.
We will consider adding support for saving/loading TVariantField fields to the Virtual table format in the next builds/versions.

yeohray
Posts: 56
Joined: Mon 26 Mar 2007 01:25

Post by yeohray » Wed 12 Sep 2007 13:42

I tried saving to XML, but the resulting file is far too large. Thanks.

yeohray
Posts: 56
Joined: Mon 26 Mar 2007 01:25

Post by yeohray » Fri 14 Sep 2007 10:47

When a new version that supports saving/loading TVariantField is available, would this be available separately, or would I have to wait until a new version of the product license that I have (SDAC Pro) is available?

Thanks.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 14 Sep 2007 15:08

We will include fix to this problem in the next SDAC build. It will be released in the nearest time.

Post Reply