?? cooperateprint.dsr
字號:
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label30"
EndProperty
ItemType36 = 3
BeginProperty Item36 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label31"
Object.Left = 6853
Object.Top = 1784
Object.Width = 2200
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 = "Label31"
EndProperty
ItemType37 = 3
BeginProperty Item37 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label32"
Object.Left = 2318
Object.Top = 2084
Object.Width = 1000
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 = "Label32"
EndProperty
ItemType38 = 3
BeginProperty Item38 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label33"
Object.Left = 4585
Object.Top = 2084
Object.Width = 1000
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 = "Label33"
EndProperty
ItemType39 = 3
BeginProperty Item39 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label34"
Object.Left = 6853
Object.Top = 2084
Object.Width = 2200
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 = "Label34"
EndProperty
ItemType40 = 3
BeginProperty Item40 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label35"
Object.Left = 2318
Object.Top = 2384
Object.Width = 6750
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 = "Label35"
EndProperty
ItemType41 = 3
BeginProperty Item41 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label36"
Object.Left = 2318
Object.Top = 2684
Object.Width = 6750
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 = "Label36"
EndProperty
EndProperty
SectionCode2 = 4
BeginProperty Section2 {1C13A8E0-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Section1"
Object.Height = 300
NumControls = 4
ItemType0 = 6
BeginProperty Item0 {1C13A8E4-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Shape10"
Object.Left = 1134
Object.Width = 7935
Object.Height = 300
EndProperty
ItemType1 = 6
BeginProperty Item1 {1C13A8E4-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Shape11"
Object.Left = 2268
Object.Width = 3405
Object.Height = 300
EndProperty
ItemType2 = 4
BeginProperty Item2 {1C13A8E2-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Text1"
Object.Left = 3402
Object.Top = 50
Object.Width = 1133
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
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 = "Text2"
Object.Left = 6803
Object.Top = 50
Object.Width = 1134
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
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
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"
Object.Height = 330
NumControls = 2
ItemType0 = 3
BeginProperty Item0 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label37"
Object.Left = 6236
Object.Width = 795
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
ItemType1 = 3
BeginProperty Item1 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label38"
Object.Left = 7370
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 = "Label38"
EndProperty
EndProperty
End
Attribute VB_Name = "cooperateprint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'**************************************
'* 模 塊 名 稱 :應用程序啟動窗體
'* 功 能 描 述 :應用程序啟動窗體
'* 程序員姓名 : 石春曉
'* 最后修改人 : 陳齊國
'* 最后修改時間:2005/09/17
'**************************************
Option Explicit
Private m_print As CooperateDAO ' 庫位數據庫操作類
Private m_recordset As ADODB.Recordset ' 數據操作數據集對象
Private g_recordset As ADODB.Recordset ' 數據操作數據集對象
'**************************************
'* 功 能 描 述 :查找打印數據并與打印控件幫定
'* 輸 入 參 數 :operaterType - 1 打印所有
'* 輸 出 能 數 :無
'**************************************
Public Function PrintDataId(cooperateId As String)
Dim ret As Boolean
Dim txt As New Collection
Dim ctl As Object
ret = m_print.FindCooperateById(m_recordset, cooperateId)
ret = m_print.FindCooperateDeatil_findname(g_recordset, cooperateId)
Set Me.DataSource = m_recordset
Me.Sections(2).Controls("Label23").caption = m_recordset.Fields("psName")
Me.Sections(2).Controls("Label24").caption = m_recordset.Fields("bomName")
Me.Sections(2).Controls("Label25").caption = m_recordset.Fields("pocessNo")
Me.Sections(2).Controls("Label26").caption = m_recordset.Fields("Supplier")
Me.Sections(2).Controls("Label27").caption = m_recordset.Fields("superinrtendent")
Me.Sections(2).Controls("Label28").caption = m_recordset.Fields("tell")
Me.Sections(2).Controls("Label29").caption = m_recordset.Fields("quote")
Me.Sections(2).Controls("Label30").caption = m_recordset.Fields("quantity")
Me.Sections(2).Controls("Label31").caption = m_recordset.Fields("totalMoney")
Me.Sections(2).Controls("Label32").caption = m_recordset.Fields("planBeginDate")
Me.Sections(2).Controls("Label33").caption = m_recordset.Fields("planFinishDate")
Me.Sections(2).Controls("Label34").caption = m_recordset.Fields("finishDate")
Me.Sections(2).Controls("Label35").caption = m_recordset.Fields("address")
Me.Sections(2).Controls("Label36").caption = m_recordset.Fields("memo")
Me.Sections(5).Controls("Label38").caption = m_recordset.Fields("employeeName")
Set Me.DataSource = g_recordset
Me.Sections(3).Controls("Text1").DataField = g_recordset.Fields(0).name
Me.Sections(3).Controls("Text2").DataField = g_recordset.Fields(1).name
End Function
Private Sub DataReport_Initialize()
Set m_print = New CooperateDAO
Set m_recordset = New ADODB.Recordset
Set g_recordset = New ADODB.Recordset
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -