8880.html
来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 23 行
HTML
23 行
<html>
<head>
<title>Re: 请问如何以ODBCDirect型式的DAO workspace及database物件, 开启一个mdb资料库?</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 请问如何以ODBCDirect型式的DAO workspace及database物件, 开启一个mdb资料库?</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by chjichin on January 05, 1999 at 09:38:28:<p>
In Reply to: <a href="8813.html">请问如何以ODBCDirect型式的DAO workspace及database物件, 开启一个mdb资料库?</a> posted by JD on January 03, 1999 at 14:48:44:<p>
: 如subject,<br>: 试了好几种参数(OpenDatabase)都不对, 请问该如何下参数(OpenDatabase)呢?<p>Set wks = DBEngine.CreateWorkspace("toodbc", "sa", "", dbUseODBC)<br>Set db = wks.OpenDatabase("newdevice1", dbDriverComplete, False,"odbc;database=newdatabase;")<br>Set rs = db.OpenRecordset("基本资料", dbOpenDynaset, 0, dbPessimistic)<p>请参考,谢谢!
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 8880-->
</ul><!--end: 8880-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?