On 8-9-2011 9:16, michael.vancanneyt-0is9kj9s...@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...
Reinier _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal