Page 1 of 1

DBX report SQL Server Date fields as ftWideString

Posted: Fri 19 Aug 2011 20:02
by sboydlns
I am using dbExpress with Delphi 2007 and the DevArt MS SQL DBX driver. When I open a query which includes a column of type 'Date' from a SQL SErver 2008 database, the TField for that column reports its DataType as ftWideString rather than ftDate.

I really need to be able to identify date columns. How can I accomplish this?

Posted: Mon 22 Aug 2011 10:30
by AndreyZ
Hello,

To solve the problem, you should use native client provider. For this, you should set the VendorLib property of the TSQLConnection component to sqlincli.dll .

Posted: Mon 22 Aug 2011 17:57
by sboydlns
That fixed it thank you.