AnyDAC
ContentsIndexHome
PreviousUpNext
TADScriptOptions.DriverID Property

Specifies the default connection driver ID.

Group
Links

Use the DriverID property to specify the ID of default driver, which will be used for the script CONNECT <connection string> command. The property may be set from a script using SET DRIVERid <value> command.

property DriverID: String;

TADScript.Connection

ADScript1.ScriptOptions.DriverID := 'Ora';
with ADScript1.SQLScripts.Add do begin
  SQL.Add(...);
  SQL.Add('connect scott/tiger@orasrv');
end;
What do you think about this topic? Send feedback!