📄 cooperatefinishprint.dsr
字号:
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType2 = 4
BeginProperty Item2 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text3"
Object.Left = 2835
Object.Width = 1140
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType3 = 4
BeginProperty Item3 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text4"
Object.Left = 3969
Object.Width = 1125
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType4 = 4
BeginProperty Item4 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text5"
Object.Left = 5102
Object.Width = 1140
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType5 = 4
BeginProperty Item5 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text6"
Object.Left = 6236
Object.Width = 1125
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType6 = 4
BeginProperty Item6 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text7"
Object.Left = 7370
Object.Width = 1140
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType7 = 5
BeginProperty Item7 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line3"
Object.Left = 567
Object.Top = 320
Object.Width = 7920
EndProperty
ItemType8 = 5
BeginProperty Item8 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line12"
Object.Left = 1701
Object.Height = 300
EndProperty
ItemType9 = 5
BeginProperty Item9 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line13"
Object.Left = 2835
Object.Height = 300
EndProperty
ItemType10 = 5
BeginProperty Item10 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line14"
Object.Left = 3969
Object.Height = 300
EndProperty
ItemType11 = 5
BeginProperty Item11 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line15"
Object.Left = 5102
Object.Height = 300
EndProperty
ItemType12 = 5
BeginProperty Item12 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line16"
Object.Left = 6236
Object.Height = 300
EndProperty
ItemType13 = 5
BeginProperty Item13 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line17"
Object.Left = 7370
Object.Height = 300
EndProperty
ItemType14 = 5
BeginProperty Item14 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line18"
Object.Left = 8460
Object.Height = 320
EndProperty
ItemType15 = 5
BeginProperty Item15 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line19"
Object.Left = 567
Object.Height = 300
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 = "cooperatefinishprint"
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 CooperateFinishDAO ' 库位数据库操作类
Private m_recordset As ADODB.Recordset ' 数据操作数据集对象
Private g_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.cooperatefinish_showone(m_recordset, id)
ret = m_print.cooperateFinishcheckrecord_findid(g_recordset, id)
Set Me.DataSource = m_recordset
Me.Sections(2).Controls("Label2").caption = m_recordset.Fields("finishDate")
Me.Sections(2).Controls("Label15").caption = m_recordset.Fields("supplierName")
Me.Sections(2).Controls("Label16").caption = m_recordset.Fields("processNo")
Me.Sections(2).Controls("Label17").caption = m_recordset.Fields("bomName")
Me.Sections(2).Controls("Label18").caption = m_recordset.Fields("finishPartNum")
Me.Sections(2).Controls("Label19").caption = aa
Me.Sections(2).Controls("Label20").caption = "¥" & m_recordset.Fields("processFee")
Me.Sections(2).Controls("Label21").caption = m_recordset.Fields("lossPartNum")
Me.Sections(2).Controls("Label22").caption = m_recordset.Fields("backPartNum")
Me.Sections(2).Controls("Label23").caption = m_recordset.Fields("counterclaim")
Me.Sections(2).Controls("Label24").caption = m_recordset.Fields("finishDate")
Me.Sections(2).Controls("Label25").caption = Trim(m_recordset.Fields("warehouseName") & " ")
Me.Sections(2).Controls("Label26").caption = m_recordset.Fields("memo")
Set Me.DataSource = g_recordset
Me.Sections("section1").Controls.Item("text1").DataField = Trim(g_recordset.Fields("checkNo").name)
Me.Sections("section1").Controls.Item("text2").DataField = Trim(g_recordset.Fields("checkOption").name)
Me.Sections("section1").Controls.Item("text3").DataField = Trim(g_recordset.Fields("checkMethod").name)
Me.Sections("section1").Controls.Item("text4").DataField = Trim(g_recordset.Fields("standardValue").name)
Me.Sections("section1").Controls.Item("text5").DataField = Trim(g_recordset.Fields("checkValue").name)
Me.Sections("section1").Controls.Item("text6").DataField = Trim(g_recordset.Fields("badNum").name)
Me.Sections("section1").Controls.Item("text7").DataField = Trim(g_recordset.Fields("badCharacter").name)
End Function
Private Sub DataReport_Initialize()
Set m_print = New CooperateFinishDAO
Set m_recordset = New ADODB.Recordset
Set g_recordset = New ADODB.Recordset
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -