[fpc-pascal] Re: How to detect supported data types in dataset?

Reinier Olislagers reinierolislagers at gmail.com
Thu Sep 15 13:41:11 CEST 2011

On 8-9-2011 9:16, michael.vancanneyt-0Is9KJ9Sb0A at public.gmane.org wrote:
> On Thu, 8 Sep 2011, Reinier Olislagers wrote:
>> Am I missing something obvious or does it make sense to expose something
>> like a SupportedFieldTypes property for datasets?
>> How does Delphi do this?
> It does not.
>> Besides that, I think it's an excellent idea to check for invalid
>> datatypes when creating fields, rather than failing later on when
>> assigning values to them.
> It is up to the implementation of the datasets to give a decent error when
> an unsupported data type is being created.
Ok, thanks, I'll raise bug reports for the relevant datasets when I hit
that problem again...


More information about the fpc-pascal mailing list