免费获取|
论文天下网
  • 论文天下网 |
  • 原创毕业论文 |
  • 论文范文 |
  • 论文下载 |
  • 计算机论文 |
  • 论文降重 |
  • 论文排版 |
  • 外文翻译 |
  • 免费论文 |
  • 开题报告 |
  • 心得体会 |

当前位置:论文天下网 -> 开题报告 -> 计算机开题

药品库房管理系统+VB开题报告答辩PPT外文翻译(十一)

药品库房管理系统+VB开题报告答辩PPT外文翻译(十一) .Fields("批号")
        End If
    Else
        Label23.ForeColor = &HFF0000
        Label23.Caption = "库房中没有[" & Text18.Text & "],请添加新品种!"
        Command2.Enabled = False
        Command1.Enabled = True
        Combo1.Locked = False
        Text4.Locked = False
        Text5.Locked = False
        Combo1.Text = ""
        Text3.Text = ""
        Text4.Text = ""
        Text5.Text = ""
        Text6.Text = ""
        Text17.Text = "请填写备注"
    End If
    End With
Else
Command1.Enabled = False
Command2.Enabled = False
Label23.ForeColor = &H12&
Label23.Caption = "代码库中没有[" & Text1.Text & "]这个代码,应先编制代码!"
End If
End With
Exit Sub
err3:
MsgBox "输入了非法字符或数据项填写不完整!"
End Sub
Private Sub Form_Unload(Cancel As Integer)
frmmain.StatusBar1.Panels(2) = "目前没有窗口被激活"
End Sub
Private Sub Form_Activate()
frmmain.StatusBar1.Panels(2) = "活动窗口:" & frminput.Caption
End Sub
Private Sub Text3_GotFocus()
Text3.SelStart = 0
Text3.SelLength = Len(Text3.Text)
End Sub
Private Sub Text4_GotFocus()
Text4.SelStart = 0
Text4.SelLength = Len(Text4.Text)
End Sub
Private Sub Text5_GotFocus()
Text5.SelStart = 0
Text5.SelLength = Len(Text5.Text)
End Sub
Private Sub Text6_GotFocus()
Text6.SelStart = 0
Text6.SelLength = Len(Text6.Text)
End Sub
Private Sub Text7_GotFocus()
Text7.SelStart = 0
Text7.SelLength = Len(Text7.Text)
End Sub
Private Sub Text17_GotFocus()
Text17.SelStart = 0
Text17.SelLength = Len(Text17.Text)
End Sub
Private Sub Text1_GotFocus()
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
End Sub
Private Sub Text18_GotFocus()
Text18.SelStart = 0
Text18.SelLength = Len(Text18.Text)
End Sub
Private Sub Text6_Change()
On Error GoTo err0
With Adodc3
.RecordSource = "select 名称,代码 from othercode where 代码='" & Text6.Text & "'"
.Refresh
If .Recordset.AbsolutePosition <> adPosUnknown Then
Text6.Text = .Recordset.Fields("名称")
End If
End With
Exit Sub
err0:
MsgBox "数据库连接失败!"
End Sub
Private Sub Text18_Change()
On Error GoTo err5
With Adodc2
.RecordSource = "select * from " & frmmain.kcode & " where 代码='" & Text18.Text & "'"
.Refresh
If .Recordset.AbsolutePosition <> adPosUnknown Then
    Text1.Text = .Recordset.Fields(1)
    Text1.Locked = True
Else
    Command1.Enabled = False
End If
End With
Exit Sub
err5:
MsgBox "数据库连接失败!"
End Sub

 

 

6:主界面设计:

代码设计:
Private Sub menu22_Click()
frmsercho.Show
End Sub

Private Sub menu31_Click()
If frmlogin.userright = "0" Then
frmclear.Show
Else
MsgBox "只能超级用户才能执行此操作!"
End If
End Sub

Private Sub menu33_Click()

首页 上一页 8 9 10 11 12 下一页 尾页 11/12/12

相关论文
上一篇:学生信息管理系统+VB代码+开题报.. 下一篇:基于多媒体技术的旅游信息演示与..
推荐论文 本专业最新论文
Tags:药品 库房 管理系统 开题 报告 答辩 PPT 外文 翻译 2010-04-22 08:50:42【返回顶部】

相关栏目

财务会计开题
汉语言论文开题
工商管理开题
物流论文开题
人力资源开题
土木工程管理开题
电子商务开题
计算机开题
学前教育开题
教育管理开题
小学教育开题
行政管理开题
英语专业开题
电气自动化开题
电子机电开题
法律论文开题
金融经济开题
市场营销开题
电子通信开题
机械模具开题
医学药学开题报告
毕业论文开题报告


关于我们 | 联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 原创毕业论文

 

论文天下网提供论文检测,论文降重,论文范文,论文排版,网站永久域名WWW.GEPUW.NET

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 893628136@qq.com

Copyright@ 2009-2017 GEPUW.NET 论文天下网 版权所有