网站地图| 免费获取|
毕业论文网
  • 网站首页|
  • 论文范文|
  • 论文降重|
  • 职称论文发表|
  • 合作期刊|
  • 论文下载|
  • 计算机论文|
  • 外文翻译|
  • 免费论文|
  • 论文资料|
  • 论文开题报告
搜索

当前位置:毕业论文网 -> 免费论文 -> 计算机论文 -> VB高速公路票据管理系统(七)
计算机论文资料| ASP设计| Delphi| VB设计| JSP设计| ASP.NET设计| VB.NET| java设计| VC| pb| VS| dreamweaver| c#.net| vf| VC++| 计算机论文范文| 论文下载| 自动化论文

VB高速公路票据管理系统(七)

最新活动:微信集50个赞就可获取任意一篇钻石会员文档。详情见微信集赞换文档
VB高速公路票据管理系统(七) ub

Private Sub MonthView1_DateClick(ByVal DateClicked As Date)

End Sub

Private Sub txtgonghao_LostFocus()
Dim cnnjinbin As New ADODB.Connection
Dim rstjinbin As New ADODB.Recordset

If Len(Trim(txtgonghao.Text)) <> 0 Then
With cnnjinbin
If .State = adStateOpen Then
   .Close
End If
   .Provider = "microsoft.jet.oledb.4.0"
   .ConnectionString = App.Path & "\jinbin.mdb"
   .Open
End With

With rstjinbin
If .State = adStateOpen Then
   .Close
End If
   .LockType = adLockReadOnly
   .CursorLocation = adUseClient
   .CursorType = adOpenDynamic
   .ActiveConnection = cnnjinbin
   .Source = "select top 1 * from data where gonghao='" & Trim(txtgonghao.Text) & "'order by bh desc"
   .Open
If .RecordCount <> 0 Then
Do Until .EOF
txtgonghao1.Text = Trim(.Fields!gonghao.Value)
txtsfname.Text = Trim(.Fields!sxm.Value)
txt5b.Text = Trim(.Fields!begin5.Value)
txt5e.Text = Trim(.Fields!end5.Value)
txt5b1temp.Text = Trim(.Fields!begintwo5.Value)
txt5e1temp.Text = Trim(.Fields!endtwo5.Value)
txt5b2temp.Text = Trim(.Fields!beginthree5.Value)
txt5e2temp.Text = Trim(.Fields!endthree5.Value)

txt10b.Text = Trim(.Fields!begin10.Value)
txt10e.Text = Trim(.Fields!end10.Value)
txt10b1temp.Text = Trim(.Fields!begintwo10.Value)
txt10e1temp.Text = Trim(.Fields!endtwo10.Value)
txt10b2temp.Text = Trim(.Fields!beginthree10.Value)
txt10e2temp.Text = Trim(.Fields!endthree10.Value)

txt15b.Text = Trim(.Fields!begin15.Value)
txt15e.Text = Trim(.Fields!end15.Value)
txt15b1temp.Text = Trim(.Fields!begintwo15.Value)
txt15e1temp.Text = Trim(.Fields!endtwo15.Value)
txt15b2temp.Text = Trim(.Fields!beginthree15.Value)
txt15e2temp.Text = Trim(.Fields!endthree15.Value)

txt20b.Text = Trim(.Fields!begin20.Value)
txt20e.Text = Trim(.Fields!end20.Value)
txt20b1temp.Text = Trim(.Fields!begintwo20.Value)
txt20e1temp.Text = Trim(.Fields!endtwo20.Value)
txt20b2temp.Text = Trim(.Fields!beginthree20.Value)
txt20e2temp.Text = Trim(.Fields!endthree20.Value)

txt30b.Text = Trim(.Fields!begin30.Value)
txt30e.Text = Trim(.Fields!end30.Value)
txt30b1temp.Text = Trim(.Fields!begintwo30.Value)
txt30e1temp.Text = Trim(.Fields!endtwo30.Value)
txt30b2temp.Text = Trim(.Fields!beginthree30.Value)
txt30e2temp.Text = Trim(.Fields!endthree30.Value)

.MoveNext
Loop
Else
MsgBox "输入的工号非法,请重新输入", vbOKOnly
txtgonghao.Text = ""
txtgonghao.SetFocus
Exit Sub
End If
End With
End If

If txt5e2temp.Text <> 0 Then
txt5b.Text = txt5e2temp.Text + 1
ElseIf txt5b2temp.Text <> 0 And txt5e2temp.Text = 0 Then
txt5b.Text = txt5b2temp.Text
ElseIf txt5b2temp.Text <> 0 Then
txt5b.Text = txt5b2temp.Text + 1
ElseIf txt5e1temp.Text <> 0 Then
txt5b.Text = txt5e1temp.Text + 1
ElseIf txt5b1temp.Text <> 0 And txt5e1temp.Text = 0 Then
txt5b.Text = txt5b1temp.Text
ElseIf txt5b1temp.Text <> 0 Then
txt5b.Text = txt5b1temp.Text + 1
ElseIf txt5e.Text <> 0 Then
txt5b.Text = txt5e.Text + 1
ElseIf txt5b.Text <> 0 And txt5e.Text = 0 Then
txt5b.Text = txt5b.Text
ElseIf txt5b.Text = 0 Then
txt5b.Text = ""
Else
txt5b.Text =

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

VB高速公路票据管理系统(七)由毕业论文网(www.huoyuandh.com)会员上传。
原创论文资料流程 相关论文
上一篇:电表管理系统VB 下一篇:VB工资管理系统
推荐论文 本专业最新论文
Tags:高速公路 票据 管理系统 2010-04-23 19:49:29【返回顶部】
精彩推荐
发表论文

联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士论文资料


毕业论文网提供论文范文,论文代发,原创论文资料

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

Copyright@ 2009-2020 毕业论文网 版权所有