SQLDialet Error

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Suhaimin
Posts: 79
Joined: Mon 06 May 2013 12:19

SQLDialet Error

Post by Suhaimin » Sun 22 Feb 2015 11:33

Hello,


"SQLDialet is not a valid option name for interbase Uniprovider". in delphi i use Tuniconnection, TUniquery, database firebird embeded. what cause this error ?thanks

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: SQLDialet Error

Post by AlexP » Mon 23 Feb 2015 05:50

Hello,

In the new version we have introduced a check for SpecificOptions and their values. Now, when you try to use a non-existent option, or assign an invalid value, you will receive an error message. The option name is 'SQLDialect';

Code: Select all

  UniConnection1.ProviderName := 'Interbase';
  UniConnection1.SpecificOptions.Values['SQLDialect'] := '2'

Post Reply