GetTableNames function returns database names

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tanong1957
Posts: 4
Joined: Thu 16 Aug 2007 05:51

GetTableNames function returns database names

Post by tanong1957 » Thu 28 Jul 2011 11:59

Using SDAC 5.10.0.8 and SQL Server 2008 Express,
my delphi application returns database names
when GetTableNames is called.

I uninstalled the new version and reinstalled SDAC 5.10.0.6,
the function then works normally again.

AndreyZ

Post by AndreyZ » Thu 28 Jul 2011 12:47

Hello,

I cannot reproduce the problem. Please make sure you are using the TMSConnection.GetTableNames procedure to retrieve table names, and not the TMSConnection.GetDatabaseNames procedure.

tanong1957
Posts: 4
Joined: Thu 16 Aug 2007 05:51

Post by tanong1957 » Thu 28 Jul 2011 16:41

I reinstalled the new sdac 5.10.0.8 and can still reproduce the same error.

http://www.kanesoftware.com/upload/sdac1.gif

And the outcome ... (it shows databases)

http://www.kanesoftware.com/upload/sdac2.gif

Then I uninstalled the sdac 5.10.0.8 and reinstalled the older one,
sdac 5.10.0.6, it on the other hand functions correctly as shown below.

http://www.kanesoftware.com/upload/sdac3.gif

My developping environment :

- Delphi XE
- sdac510d15pro v. 5.10.0.8
- SQL Server 2008 Express
- Windows XP

AndreyZ

Post by AndreyZ » Fri 29 Jul 2011 08:10

I still cannot reproduce the problem. Please send me an e-mail to andreyz*devart*com . I will send you a test project, so you will be able to check the problem with it.

Post Reply