📄 producefinishprint.dsr
字号:
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "存放库位:"
EndProperty
ItemType14 = 3
BeginProperty Item14 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label14"
Object.Left = 100
Object.Top = 1680
Object.Width = 1005
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "备 注:"
EndProperty
ItemType15 = 3
BeginProperty Item15 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label15"
Object.Left = 1134
Object.Top = 80
Object.Width = 1710
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label15"
EndProperty
ItemType16 = 3
BeginProperty Item16 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label16"
Object.Left = 4200
Object.Top = 80
Object.Width = 1695
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label16"
EndProperty
ItemType17 = 3
BeginProperty Item17 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label17"
Object.Left = 7200
Object.Top = 80
Object.Width = 1695
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label17"
EndProperty
ItemType18 = 3
BeginProperty Item18 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label18"
Object.Left = 1134
Object.Top = 480
Object.Width = 1710
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label18"
EndProperty
ItemType19 = 3
BeginProperty Item19 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label19"
Object.Left = 4200
Object.Top = 480
Object.Width = 1695
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label19"
EndProperty
ItemType20 = 3
BeginProperty Item20 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label20"
Object.Left = 7200
Object.Top = 480
Object.Width = 1695
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label20"
EndProperty
ItemType21 = 3
BeginProperty Item21 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label21"
Object.Left = 1134
Object.Top = 880
Object.Width = 1710
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label21"
EndProperty
ItemType22 = 3
BeginProperty Item22 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label22"
Object.Left = 4200
Object.Top = 880
Object.Width = 1695
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label22"
EndProperty
ItemType23 = 3
BeginProperty Item23 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label24"
Object.Left = 1134
Object.Top = 1280
Object.Width = 1710
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label24"
EndProperty
ItemType24 = 3
BeginProperty Item24 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label25"
Object.Left = 4200
Object.Top = 1280
Object.Width = 1695
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label25"
EndProperty
ItemType25 = 3
BeginProperty Item25 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label26"
Object.Left = 1134
Object.Top = 1680
Object.Width = 7605
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label26"
EndProperty
EndProperty
SectionCode3 = 7
BeginProperty Section3 {1C13A8E0-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Section3"
NumControls = 0
EndProperty
SectionCode4 = 8
BeginProperty Section4 {1C13A8E0-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Section5"
NumControls = 0
EndProperty
End
Attribute VB_Name = "producefinishprint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_Ext_KEY = "RVB_ModelStereotype" ,"DataReport"
'**************************************
'* 模 块 名 称 :应用程序启动窗体
'* 功 能 描 述 :应用程序启动窗体
'* 程序员姓名 : 石春晓
'* 最后修改人 : 陈齐国
'* 最后修改时间:2005/09/17
'**************************************
Option Explicit
Private m_print As ProduceFinishDAO ' 库位数据库操作类
Private m_recordset As ADODB.Recordset ' 数据操作数据集对象
'**************************************
'* 功 能 描 述 :查找打印数据并与打印控件帮定
'* 输 入 参 数 :operaterType - 1 打印所有
'* 输 出 能 数 :无
'**************************************
Public Function PrintDataId(id As String, aa As String)
Dim ret As Boolean
Dim txt As New Collection
Dim ctl As Object
ret = m_print.ProduceFinishFindById(m_recordset, id)
Set Me.DataSource = m_recordset
Me.Sections(2).Controls("Label2").caption = m_recordset.Fields("finishDate")
Me.Sections(3).Controls("Label15").caption = m_recordset.Fields("exeEmployeeName")
Me.Sections(3).Controls("Label16").caption = m_recordset.Fields("processNo")
Me.Sections(3).Controls("Label17").caption = m_recordset.Fields("bomName")
Me.Sections(3).Controls("Label18").caption = m_recordset.Fields("finishPartNum")
Me.Sections(3).Controls("Label19").caption = aa
Me.Sections(3).Controls("Label20").caption = "¥" & m_recordset.Fields("processFee")
Me.Sections(3).Controls("Label21").caption = m_recordset.Fields("lossPartNum")
Me.Sections(3).Controls("Label22").caption = m_recordset.Fields("backPartNum")
Me.Sections(3).Controls("Label24").caption = m_recordset.Fields("finishDate")
Me.Sections(3).Controls("Label25").caption = m_recordset.Fields("warehouseName")
Me.Sections(3).Controls("Label26").caption = m_recordset.Fields("memo")
End Function
Private Sub DataReport_Initialize()
Set m_print = New ProduceFinishDAO
Set m_recordset = New ADODB.Recordset
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -