📄 tabssession_opendatabase.htm
字号:
<html>
<head>
<title></title>
</head>
<!--#include virtual="/inc/header.php"-->
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td align="left">
<span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>TABSSession.OpenDatabase</b><span style="font-family:Helvetica,Arial; font-size:12pt; color:#0000FF"><b>
<br>
</b></span><span style="font-family:Helv; font-size:9pt; color:#000000"><span style="font-family:Helv; font-size:9pt; color:#7F0000"><a href=tabssession.htm>TABSSession</a></span></span><span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>
<br>
</b></span></span>
</td>
<td align="right">
<font face="Arial" size="2">
<a href="overview.htm">Top</a>
</font>
</td>
</tr>
</table>
<br><br>
<span style="font-family:Helvetica,Arial; font-size:10pt; color:#000000">Opens an existing database, or creates a temporary database component and opens it.
<br>
<br>
<b>function</b> OpenDatabase(<b>const</b> DatabaseName: String): <a href=tabsdatabase.htm>TABSDatabase</a>;
<br>
<br>
<b>Description</b>
<br>
<br>
Call OpenDatabase to connect to a database for which a persistent database component already exists, or to create a temporary database component and connect to a database. DatabaseName specifies the database to open.
<br>
<br>
OpenDatabase makes the current session active, then calls <a href=tabssession_finddatabase.htm>FindDatabase</a> to determine if the DatabaseName parameter corresponds to the DatabaseName property of an existing database component. If it does not, OpenDatabase creates a temporary database component, assigning the DatabaseName parameter to the DatabaseName property. Finally, OpenDatabase calls the <a href=tabssession_open.htm>Open</a> method of the database to connect to a database server, then increments the session's database reference count by one.
<br>
</span>
<!--#include virtual="/inc/footer.php"-->
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -