作者wwokeb (旅行...)
看板Visual_Basic
标题Re: [VB6 ] 关於程式码 一下可以一下不行..
时间Wed Jul 19 00:27:30 2006
侦错讯息是出现
执行阶段错误"3246"
此动作被相关的物件取消..
我实在不懂是什麽意思呐><....
※ 引述《wwokeb (旅行...)》之铭言:
: Private Sub nextcommend_Click()
: customdb.Recordset.AddNew <==按新增下一笔 错这行
: customdb.Enabled = False
: newcommend.Enabled = True
: nextcommend.Enabled = True
: End Sub
: Private Sub newcommend_Click()
: If Trim(Text1.Text) = "" Then
: MsgBox "联络电话栏位内不得空白"
: Exit Sub
: End If
: If Trim(Text2.Text) = "" Then
: MsgBox "客户名称栏位内不得空白"
: Exit Sub
: End If
: If Trim(Text3.Text) = "" Then
: MsgBox "住址栏位内不得空白"
: Exit Sub
: End If
: customdb.Recordset.MoveLast <===按确定储存错这行
: customdb.Enabled = True
: newcommend.Enabled = True
: nextcommend.Enabled = True
: End Sub
: 这个是我写的程式 我是要新增资料到资料库里
: 昨天我写完测试的时候可以 可是今天又不行…
: 为什麽会这样 我一直找不出来是什麽原因
: 版上有人可以指点指点我吗^^"
: 谢谢吼....
--
是不是学会了什麽事都往心里放
眼泪掉下的频率就会日渐增加??
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.141.1.83
※ 编辑: wwokeb 来自: 220.141.1.83 (07/19 01:00)