#1 2015-03-04 01:06:50

milesyou
Member
Registered: 2015-03-04
Posts: 21

Pls Fix SynDBUniDAC ms SQL question

In Line  415
case aProperties.DBMS of
  dSQLite, dFirebird, dPostgreSQL, dMySQL, dDB2:
    fDatabase.Database := UTF8ToString(fProperties.DatabaseName);

pls add dMSSQL ,I test OK

Offline

#2 2015-03-04 07:20:16

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,662
Website

Re: Pls Fix SynDBUniDAC ms SQL question

Use SpecificOptions['Database'] to set the database.
See also TSQLDBUniDACConnectionProperties.URI() method.

Offline

#3 2015-03-04 08:00:56

milesyou
Member
Registered: 2015-03-04
Posts: 21

Re: Pls Fix SynDBUniDAC ms SQL question

fConnectionProps := TSQLDBUniDACConnectionProperties.Create
      (TSQLDBUniDACConnectionProperties.URI(dMSSQL, HostPort), m_dbinfo.dbname,
      m_dbinfo.dbUser, m_dbinfo.DBPassword);

I had add ,but cashed.
so , I add 

case aProperties.DBMS of
  dSQLite, dFirebird, dPostgreSQL, dMySQL,dMSSQL, dDB2:
    fDatabase.Database := UTF8ToString(fProperties.DatabaseName);


It is working now.

Offline

#4 2015-03-04 08:03:11

milesyou
Member
Registered: 2015-03-04
Posts: 21

Re: Pls Fix SynDBUniDAC ms SQL question

dSQLite, dFirebird, dPostgreSQL, dMySQL,dMSSQL, dDB2:   

Less of  'dMSSQL'

Offline

#5 2015-03-04 08:15:20

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,662
Website

Re: Pls Fix SynDBUniDAC ms SQL question

Please try http://synopse.info/fossil/info/67933a8e02

Thanks for the report.

Offline

Board footer

Powered by FluxBB