Foxtable(狐表)用户栏目专家坐堂 → [求助]事件报错


  共有2383人关注过本帖树形打印复制链接

主题:[求助]事件报错

帅哥哟,离线,有人找我吗?
l1q2lq
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:一尾狐 帖子:422 积分:3430 威望:0 精华:0 注册:2015/5/20 8:44:00
[求助]事件报错  发帖心情 Post By:2015/7/8 11:44:00 [显示全部帖子]

导航_TopicBar1_TopicLinkClick

 

Select Case e.Link.Name

    Case "物料信息"

        Forms("物料信息").Open

    Case "库存信息"

        Forms("库存信息窗口").Open

    Case "物料需求"

        Forms("物料需求计划").Open

    Case "采购订单"

        Forms("采购订单窗口").Open

    Case "资金结算"

        Forms("收货窗口").Open

    Case "对账"

        Forms("对账窗体").Open

    Case "更改记录"

        Forms("更改信息").Open

    Case "订单完成查询"

        Forms("查询窗体").Open

    Case "系统页面"

        For Each t As RibbonMenu.Tab In RibbonTabs

            t.Visible =True

        Next

    Case "隐藏菜单"

        For Each t As RibbonMenu.Tab In RibbonTabs

            t.Visible =False

        Next

End Select

 

For Each page As WinForm.TopicPage In e.Sender.Pages

    For Each link As Object In page.Links

       link.text = link.Text.Replace("★★★", "")

    Next

Next

e.Link.Text += "★★★"


此主题相关图片如下:qq图片20150708114426.jpg
按此在新窗口浏览图片


此主题相关图片如下:qq图片20150708114422.jpg
按此在新窗口浏览图片


 回到顶部
帅哥哟,离线,有人找我吗?
l1q2lq
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:一尾狐 帖子:422 积分:3430 威望:0 精华:0 注册:2015/5/20 8:44:00
  发帖心情 Post By:2015/7/8 12:10:00 [显示全部帖子]

窗口表事件

 

窗口与控件事件

 

物料信息_AfterLoad

 

Tables("物料信息表").listmode=True

 


没有啊


 回到顶部
帅哥哟,离线,有人找我吗?
l1q2lq
  3楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:一尾狐 帖子:422 积分:3430 威望:0 精华:0 注册:2015/5/20 8:44:00
  发帖心情 Post By:2015/7/8 12:12:00 [显示全部帖子]

窗口表事件

 

窗口与控件事件

 

物料信息_Button1_Click

 

Dim ljh As WinForm.TextBox = e.Form.Controls("零件号")

Dim ljzwmc As WinForm.TextBox = e.Form.Controls("零件中文名称")

Dim gysdm As WinForm.TextBox = e.Form.Controls("供应商代码")

Dim wljhy As WinForm.TextBox = e.Form.Controls("物料计划员")

 

Tables("物料信息表").Filter="零件号 like '*"& ljh.Text & "*'"

 

物料信息_Button2_Click

 

Dim ljh As WinForm.TextBox = e.Form.Controls("零件号")

Dim ljzwmc As WinForm.TextBox = e.Form.Controls("零件中文名称")

Dim gysdm As WinForm.TextBox = e.Form.Controls("供应商代码")

Dim wljhy As WinForm.TextBox = e.Form.Controls("物料计划员")

 

Tables("物料信息表").Filter="零件中文名称 like '*"& ljzwmc.Text & "*'"

 

物料信息_Button3_Click

 

Dim ljh As WinForm.TextBox = e.Form.Controls("零件号")

Dim ljzwmc As WinForm.TextBox = e.Form.Controls("零件中文名称")

Dim gysdm As WinForm.TextBox = e.Form.Controls("供应商代码")

Dim wljhy As WinForm.TextBox = e.Form.Controls("物料计划员")

 

Tables("物料信息表").Filter="供应商代码 like '*"& gysdm.Text & "*'"

 

物料信息_Button4_Click

 

Dim ljh As WinForm.TextBox = e.Form.Controls("零件号")

Dim ljzwmc As WinForm.TextBox = e.Form.Controls("零件中文名称")

Dim gysdm As WinForm.TextBox = e.Form.Controls("供应商代码")

Dim wljhy As WinForm.TextBox = e.Form.Controls("物料计划员")

 

Tables("物料信息表").Filter="物料计划员 like '*"& wljhy.Text & "*'"

 

物料信息_Button5_Click

 

Forms("欢迎窗口").Open

 

物料信息_导出_Click

 

Dim Book As New XLS.Book(ProjectPath & "Attachments\物料信息导出模板.xls")

Dim fl As String = ProjectPath & "Reports\物料信息导出模板.xls"

Book.Build() '生成细节区

Book.Save(fl) '保存工作簿

Dim Proc As New Process '打开工作簿

Proc.File = fl

Proc.Start()

 

物料信息_全部_Click

 

Dim ljh As WinForm.TextBox = e.Form.Controls("零件号")

Dim ljzwmc As WinForm.TextBox = e.Form.Controls("零件中文名称")

Dim gysdm As WinForm.TextBox = e.Form.Controls("供应商代码")

Dim wljhy As WinForm.TextBox = e.Form.Controls("物料计划员")

 

ljh.Text =" "

ljzwmc.Text =" "

gysdm.Text =" "

wljhy.Text =" "

Tables("物料信息表").Filter =" "

 

 




物料信息窗口全部代码


 回到顶部
帅哥哟,离线,有人找我吗?
l1q2lq
  4楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:一尾狐 帖子:422 积分:3430 威望:0 精华:0 注册:2015/5/20 8:44:00
  发帖心情 Post By:2015/7/8 16:38:00 [显示全部帖子]

查出来了...好麻烦

 回到顶部