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

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

VB+库存管理系统+开题报告(七)

VB+库存管理系统+开题报告(七) ; Unload Me
     End If
 Text21.Visible = False
 Toolbar5.Buttons(1).Visible = False
 Toolbar5.Buttons(2).Visible = False
 Toolbar5.Buttons(4).Visible = False
 Toolbar5.Buttons(5).Visible = True
 Toolbar5.Buttons(6).Visible = True
 Toolbar5.Buttons(7).Visible = False
 Case 5 ''确定
 On Error GoTo update_error
 If Text3.Text = "" Then
 MsgBox "必须填写售电员!", 0, "提示"
 Exit Sub
 End If
   Data5.Recordset("分类") = DBCombo1.Text
   Data5.UpdateRecord
   Data5.Recordset.Bookmark = Data1.Recordset.LastModified
 update_error:
    If Err.Number = 3020 Then
     MsgBox "请先添加记录!   错误:" & Err & "," & Err.Description, 0, "提示"
     Unload Me
     End If
 Text21.Visible = True
 Toolbar5.Buttons(1).Visible = True
 Toolbar5.Buttons(2).Visible = True
 Toolbar5.Buttons(4).Visible = True
 Toolbar5.Buttons(5).Visible = False
 Toolbar5.Buttons(6).Visible = False
 Toolbar5.Buttons(7).Visible = True
 Case 6 ''取消
 On Error GoTo CanceErr
 Data5.Recordset.Edit
 Data5.Recordset.CancelUpdate
 Text21.Visible = True
 Toolbar5.Buttons(1).Visible = True
 Toolbar5.Buttons(2).Visible = True
 Toolbar5.Buttons(4).Visible = True
 Toolbar5.Buttons(5).Visible = False
 Toolbar5.Buttons(6).Visible = False
 Toolbar5.Buttons(7).Visible = True
 CanceErr:
 If Err.Number = 3021 Then
  MsgBox "没有记录!   错误:" & Err & "," & Err.Description, 0, "提示"
 End If
 Case 7 ''删除
 On Error GoTo del_error
    a = MsgBox("真的删除吗?", vbExclamation + vbOKCancel + vbApplicationModal, "删除记录")
 If a = 1 Then
     Data5.Recordset.Delete
   Data5.Recordset.MoveLast
    End If
 If a = 2 Then Exit Sub
 del_error:
    If Err.Number = 3426 Then
    MsgBox "已经全部删除!   错误:" & Err & "," & Err.Description, 0, "提示"
   Unload Me
   End If
 End Select
 End Sub
 ③产品入库窗体如下:
 
 图6-3 产品入库窗体
 产品入库代码设计:
 Private Sub Command1_Click()
 If Val(Text1.Text) <= 0 Then
  MsgBox "请输入入库数量!"
  Exit Sub
 End If
 If DBCombo2.Text = "" Then
  MsgBox "请选择入库材料名称!"
  Exit Sub
 End If
 If DBCombo4.Text = "" Then
  MsgBox "请选择经手人!"
  Exit Sub
 End If
 Dim a As Integer
  a = MsgBox("********你确定此操作吗?**********" & vbCrLf _
         & "材料名称:" & DBCombo2.Text & vbCrLf _
         & "原库存量:" & Label4.Caption & Label5.Caption & vbCrLf _
         & "本次入库:" & Text1.Text & Label5.Caption & "   单价:" & Text2.Text & "元" & vbCrLf _
         & "供应商:" & DBCombo3.Text & vbCrLf _
  

首页 上一页 4 5 6 7 8 9 下一页 尾页 7/9/9

相关论文
上一篇:{免费论文}消息队列的分布式数据.. 下一篇:VB+通讯录信息管理系统+论文PPT及..
推荐论文 本专业最新论文
Tags:库存 管理系统 开题 报告 2010-04-22 09:24:50【返回顶部】

相关栏目

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


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

 

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

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

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