#1 2017-04-25 17:53:25

Junior/RO
Member
Registered: 2011-05-13
Posts: 207

Best way to display a list of informations in a TDocVariant

@ab

I have a function that does some data validation after reading a text file. All possible errors are added to a TDocVariant instance.

I need to display this error list on a sort of a grid or equivalent control [Delphi 7].

What is the best way, or the best shortcut, to make this happen?

The error list are like one array of [(ErrorCode, Int1, Int2, ErrorMsgStr)].

Thank you.

Last edited by Junior/RO (2017-04-25 17:53:57)

Offline

#2 2017-04-25 18:22:33

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: Best way to display a list of informations in a TDocVariant

Did you try TDocVariantArrayDataSet from unit SynVirtualDataSet.pas ?

Offline

#3 2017-04-25 20:58:52

Junior/RO
Member
Registered: 2011-05-13
Posts: 207

Re: Best way to display a list of informations in a TDocVariant

Great! Trying now...

Offline

Board footer

Powered by FluxBB