Visual Basic 6.0和数据库 [英] Visual Basic 6.0 and databases
问题描述
我正在尝试通过记录集更新数据库和DAO 3.51
我通过使用树视图打开数据对象来访问我的数据库
记录集对象。我试图通过.Edit来更新数据库。和。更新。但是当我执行.Edit时,我会执行.Edit。我收到一条消息没有当前记录。为什么
我可以从数据库更新树而不是编辑
数据库本身?
" beaner" <一个******* @ discussions.microsoft.com> schrieb我正在尝试通过记录集和DAO 3.51更新数据库
我通过使用树视图通过数据对象打开
记录集对象来访问我的数据库。我试图通过.Edit来更新数据库。和。更新。但当我执行.Edit时我收到一条消息没有当前记录。为什么
我可以从数据库更新树而不是编辑数据库本身?
这是一个VB.NET(dotnet)组。较旧版本由
microsoft.public.vb。*组之一处理。
-
Armin
*" beaner" <一个******* @ discussions.microsoft.com> scripsit:我正在尝试通过记录集和DAO 3.51更新数据库
我通过使用树视图通过数据对象打开
记录集对象来访问我的数据库。我试图通过.Edit来更新数据库。和。更新。但当我执行.Edit时我收到一条消息没有当前记录。为什么
我可以从数据库更新树而不是编辑数据库本身?
转到microsoft.public.vb。*。这是一个VB.NET小组。
-
Herfried K. Wagner
MVP·VB Classic,VB.NET
< http://www.mvps.org/dotnet>
" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at> schrieb*" beaner" <一个******* @ discussions.microsoft.com> scripsit:我正在尝试通过记录集和DAO 3.51更新数据库
我通过使用树视图通过数据对象打开
记录集对象来访问我的数据库。我试图通过.Edit来更新数据库。和。更新。但当我执行.Edit时我收到一条消息没有当前记录。为什么
我可以从数据库更新树而不是编辑数据库本身?
转到microsoft.public.vb。*。这是一个VB.NET小组。
你不觉得这么粗鲁的回答感觉不好吗? ;-))
-
Armin
I am trying to update a database by recordset and DAO 3.51
I have accessed my database thru a data object open
recordset object by use of a treeview. I am trying to
update teh database by ".Edit" and ".Update". But when I
execute ".Edit" I get a message "No current Record". Why
can I update a tree from the database but not Edit the
databse itself?
"beaner" <an*******@discussions.microsoft.com> schriebI am trying to update a database by recordset and DAO 3.51
I have accessed my database thru a data object open
recordset object by use of a treeview. I am trying to
update teh database by ".Edit" and ".Update". But when I
execute ".Edit" I get a message "No current Record". Why
can I update a tree from the database but not Edit the
databse itself?
This is a VB.NET (dotnet) group. Older versions are handled at one of the
microsoft.public.vb.* groups.
--
Armin
* "beaner" <an*******@discussions.microsoft.com> scripsit:I am trying to update a database by recordset and DAO 3.51
I have accessed my database thru a data object open
recordset object by use of a treeview. I am trying to
update teh database by ".Edit" and ".Update". But when I
execute ".Edit" I get a message "No current Record". Why
can I update a tree from the database but not Edit the
databse itself?
Turn to microsoft.public.vb.*. This is a VB.NET group.
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb* "beaner" <an*******@discussions.microsoft.com> scripsit:I am trying to update a database by recordset and DAO 3.51
I have accessed my database thru a data object open
recordset object by use of a treeview. I am trying to
update teh database by ".Edit" and ".Update". But when I
execute ".Edit" I get a message "No current Record". Why
can I update a tree from the database but not Edit the
databse itself?
Turn to microsoft.public.vb.*. This is a VB.NET group.
Don''t you feel bad about giving such a rude answer? ;-))
--
Armin
这篇关于Visual Basic 6.0和数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!