Page 1 of 1

Unit "DBXSQLServerDevart" automaticaly added to uses clause

Posted: Mon 08 Dec 2008 10:06
by tomazl
I use driver ver. 4.45.13
When I set the connection name = 'Devart SQL Server' and the driver is set (Driver = 'DevartSQLServer'), then the unit DBXSQLServerDevart automaticaly is addet to uses clause of DataModule. But there is no unit with the name DBXSQLServerDevart, right unit name is DBXDevartSQLServer. I can't get rid of this, and the project can't be compiled.

I looked in the unit DBXDevartSQLServer.pas, and on the line 56, there is the code:
DriverProperties[TDBXPropertyNames.DriverUnit] := 'DBXSQLServerDevart';
Maybe this is the problem, but I need the solution.

Thanks, Tomaz

Posted: Tue 09 Dec 2008 12:29
by Dimon
I could not reproduce the problem. But really in the DBXDevartSQLServer unit DriverUnit should be set in 'DBXDevartSQLServer'.
Please specify the exact version of your IDE.

Posted: Thu 18 Dec 2008 09:35
by tomazl
I've upgraded IDE to the latest vesion (12.0.3210.17555), and now it adds correct unit to the uses clause...

Posted: Fri 19 Dec 2008 12:56
by Dimon
I am happy that this problem has been solved.