📄 sc_zztzd
字号:
EndProperty
DataSource = "Adoprimaryrs"
Height = 300
Index = 3
Left = 6960
TabIndex = 27
Top = 1440
Width = 1695
End
Begin VB.ComboBox Combo
BackColor = &H00FFFFC0&
DataField = "ddbh"
DataSource = "Adoprimaryrs"
Height = 300
Index = 0
Left = 990
Locked = -1 'True
TabIndex = 26
Top = 360
Width = 1695
End
Begin VB.TextBox Text1
BackColor = &H00FFFFC0&
DataField = "khbh"
DataSource = "Adoprimaryrs"
Height = 300
Index = 1
Left = 990
TabIndex = 25
Top = 960
Width = 1695
End
Begin VB.TextBox Text1
BackColor = &H00FFFFC0&
DataField = "khmc"
DataSource = "Adoprimaryrs"
Height = 300
Index = 2
Left = 5160
TabIndex = 24
Top = 960
Width = 3495
End
Begin VB.TextBox Text1
BackColor = &H00FFFFC0&
DataField = "zzdh"
DataSource = "Adoprimaryrs"
Height = 300
Index = 0
Left = 990
TabIndex = 23
Top = 1440
Width = 1695
End
Begin VB.Frame Frame3
Caption = "计划自生产选项"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400000&
Height = 615
Left = 5160
TabIndex = 29
Top = 240
Width = 3495
Begin VB.OptionButton Option2
Caption = "半成品"
ForeColor = &H000000FF&
Height = 255
Left = 960
TabIndex = 32
Top = 240
Width = 855
End
Begin VB.OptionButton Option1
Caption = "成品"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 120
TabIndex = 31
Top = 240
Width = 1095
End
End
Begin VB.Label Label1
Caption = "订单编号"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 30
TabIndex = 30
Top = 360
Width = 1155
End
Begin VB.Label Label1
Caption = "客户编号"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 4
Left = 30
TabIndex = 19
Top = 1005
Width = 1155
End
Begin VB.Label Label1
Caption = "客户名称"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 3
Left = 4200
TabIndex = 18
Top = 1005
Width = 1155
End
Begin VB.Label label2
Caption = "通知日期"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 6000
TabIndex = 17
Top = 1485
Width = 1155
End
Begin VB.Label Label1
Caption = "制造单号"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 30
TabIndex = 16
Top = 1485
Width = 1155
End
End
Begin MSAdodcLib.Adodc Ado_sc_kc
Height = 495
Left = 0
Top = 6000
Width = 2295
_ExtentX = 4048
_ExtentY = 873
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Ado_sc_kc"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSAdodcLib.Adodc bcp_CX_LRB
Height = 495
Left = 6240
Top = 240
Width = 3855
_ExtentX = 6800
_ExtentY = 873
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "bcp_CX_LRB"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSAdodcLib.Adodc cp_CX_LrB
Height = 495
Left = 0
Top = 5520
Width = 2295
_ExtentX = 4048
_ExtentY = 873
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "cp_CX_LrB"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.Label Label1
Caption = "核准:"
Height = 255
Index = 2
Left = 9480
TabIndex = 39
Top = 6900
Width = 735
End
Begin VB.Label Label1
Caption = "业务登记"
Height = 255
Index = 9
Left = 3060
TabIndex = 22
Top = 6840
Width = 975
End
Begin VB.Label Label1
Caption = "部门主管"
Height = 255
Index = 8
Left = 6900
TabIndex = 21
Top = 6870
Width = 735
End
End
Attribute VB_Name = "Sc_ZzTzD"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Tjbz As Boolean
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) '非法退出禁止
If Cmdcancel.Enabled = True Then
If UnloadMode <> VBRUN.QueryUnloadConstants.vbFormCode Then
Cancel = 1
Exit Sub
End If
End If
End Sub
Private Sub Check3_Click()
If Check3.Value = 1 Then
Combo(0).Visible = False
Else
Combo(0).Visible = True
End If
End Sub
'*******************************************************
'* 曹汉华 2002.9.26 编写 *
'*******************************************************
Private Sub cmdnext_Click() '向后
On Error GoTo GoNextError
If Not AdoPrimaryRs.Recordset.EOF Then AdoPrimaryRs.Recordset.MoveNext
If AdoPrimaryRs.Recordset.EOF And AdoPrimaryRs.Recordset.RecordCount > 0 Then
Beep
AdoPrimaryRs.Recordset.MoveLast
End If
Exit Sub
GoNextError:
MsgBox Err.Description
End Sub
Private Sub Cmdprint_Click()
sc_zztz_rpt.DataControl1.ConnectionString = Conn_Str
sc_zztz_rpt.DataControl1.Source = "select * from sc_zztz_rpt with (nolock) where zzdh='" & Text1(0).Text & "'"
sc_zztz_rpt.Show VBRUN.FormShowConstants.vbModal
End Sub
Private Sub Cmdqd_Click() '首端
If AdoPrimaryRs.Recordset.RecordCount > 0 Then
If AdoPrimaryRs.BOFAction = False Then
AdoPrimaryRs.Recordset.MoveFirst
Else
AdoPrimaryRs.Recordset.MoveNext
End If
Else
Exit Sub
End If
End Sub
Private Sub Cmdreturn_Click()
Unload Me
End Sub
Private Sub cmdxq_Click() '向前
On Error GoTo GoPrevError
If Not AdoPrimaryRs.Recordset.BOF Then AdoPrimaryRs.Recordset.MovePrevious
If AdoPrimaryRs.Recordset.BOF And AdoPrimaryRs.Recordset.RecordCount > 0 Then
Beep
AdoPrimaryRs.Recordset.MoveFirst
End If
Exit Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -