How to assign olevariant to VirtualDataSet

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tcflam
Posts: 62
Joined: Tue 01 Jan 2013 10:48

How to assign olevariant to VirtualDataSet

Post by tcflam » Wed 12 May 2021 14:45

Hi,

I'm using DataSnap. Is it possible assign olevariant to VirtualDataSet?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: How to assign olevariant to VirtualDataSet

Post by MaximG » Fri 23 Jul 2021 14:13

The VirtualDataSet component doesn't have methods for converting OleVariant values directly to a dataset. You can obtain the needed data by calling the GetFieldValue and GetRecordCount methods. Please see a demo project distributed with the components for an example.

Post Reply