Page 1 of 1

How to assign olevariant to VirtualDataSet

Posted: Wed 12 May 2021 14:45
by tcflam
Hi,

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

Re: How to assign olevariant to VirtualDataSet

Posted: Fri 23 Jul 2021 14:13
by MaximG
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.