- Recompilación en Delphi10 de todos los paquetes de RO para generar las DCU's en Lib\D10 - Recompilación en Delphi10 de todos los paquetes de DA para generar las DCU's en Lib\D10 git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@9 b6239004-a887-0f4b-9937-50029ccdca16
51 lines
1.3 KiB
HTML
51 lines
1.3 KiB
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="..\styles.css">
|
|
</head>
|
|
<body>
|
|
<img src="..\..\da.png" alt="" align="right">
|
|
|
|
<!-------------------------------------------------------------------------->
|
|
|
|
<p class="h1">
|
|
<span>Custom User Logon</span>
|
|
</p>
|
|
|
|
|
|
<h2>Purpose</h2>
|
|
<p>
|
|
A very simple example showing two methods of opening a connection at runtime.
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
<b>Open Connection (1st way)</b>: creates and opens the connection in a
|
|
single
|
|
call passing the UserID/Password values supplied.
|
|
</li>
|
|
<li>
|
|
<b>Open Connection (2nd way)</b>: creates the connection and opens it afterwards.
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
The example uses <b>DAConnectionManager.Connections[0]</b> as the connection
|
|
it opens. Examining its <b>ConnectionString</b> value via the Object Inspector,
|
|
you will see that it is set to:
|
|
</p>
|
|
<p>
|
|
|
|
</p>
|
|
<p class="contents">
|
|
<b>ADO?Server=localhost;UserID=sa;AuxDriver=SQLOLEDB.1;Database=Northwind</b>
|
|
</p>
|
|
<p>
|
|
|
|
</p>
|
|
<p>
|
|
Modify it as needed to access a different database. See <a href="http://www.remobjects.com/faq/?id={436F10F8-C743-411F-966E-6150B6D3ADF8}">FAQ37</a>
|
|
for examples of connection strings.
|
|
</p>
|
|
|
|
<!-------------------------------------------------------------------------->
|
|
</body>
|
|
</html>
|