Setting Driver Properties and Delegate Drivers

Another noticeable difference relates to the configuration of drivers and delegate drivers. As you select a value for the Driver property in Delphi 2009 at design-time, you'll be able to expand this property and set a few values. Among them there is a reference to the delegate driver, that you can expand as well to configure it. In other words if you need to set a trace file, for example, you can now do so directly in the driver configuration. This is how the Object Inspector looks like in a such a case:

SQLConnectioril TSQLConnection | ▼ |

1 Properties | Events 1

Connected

False

ConnectionName

E

Driver

INTERBASE

Database

C:\Program File;5\Coninion Fil

Password

masterkey

»

ServerCharSet

1

UserName

sysdba

DelegateName

DBXTrjce

E

DelegateConnection

DBXTrace

TraceDriver

True

TraceFile

trace.log

E

TraceFlags

[ P ARAI 1 ETER,ERROR, EXECUTE,

DelegateName

E

DelegateConnection

GetDri ver Fune

getSQLDrrverlNTERBASE

KeepConnection

True

LibraryName

dbxint.dll

LoadParamsOnConnect

False

LoginPrompt

False

Name

SQLConnectioril

Params

CTStrings)

E

TableScope

[tsTablertsView]

Tag

0

VendorLib

gds3i.dll

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment