Componentes.Terceros.RemObj.../internal/5.0.23.613/1/Data Abstract for Delphi/Samples/Custom User Logon/CustomUserLogon.Sample.html
david 2824855ea7 - Modificación del paquete RemObjects_Core_D10 para que sea un paquete de runtime/designtime (antes era designtime sólo)
- 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
2007-09-10 14:06:19 +00:00

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>
&nbsp;
</p>
<p class="contents">
<b>ADO?Server=localhost;UserID=sa;AuxDriver=SQLOLEDB.1;Database=Northwind</b>
</p>
<p>
&nbsp;
</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>