?? main_ysyf_jhdxx.frm
字號(hào):
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form main_ysyf_jhdxx
BorderStyle = 1 'Fixed Single
Caption = "進(jìn)貨單信息瀏覽"
ClientHeight = 6195
ClientLeft = 45
ClientTop = 330
ClientWidth = 10980
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6195
ScaleWidth = 10980
StartUpPosition = 1 '所有者中心
Begin VB.Frame Frame3
Caption = "進(jìn)貨單信息"
Height = 5040
Left = 45
TabIndex = 10
Top = 1110
Width = 10890
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 90
Top = 1230
Visible = 0 'False
Width = 1620
_ExtentX = 2858
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=TLCYGLXT.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=TLCYGLXT.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * From 進(jìn)貨表 "
Caption = "Adodc1"
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 MSDataGridLib.DataGrid DataGrid1
Bindings = "main_ysyf_jhdxx.frx":0000
Height = 4710
Left = 75
TabIndex = 11
Top = 255
Width = 10725
_ExtentX = 18918
_ExtentY = 8308
_Version = 393216
AllowUpdate = 0 'False
HeadLines = 2
RowHeight = 15
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 7
BeginProperty Column00
DataField = "商品編號(hào)"
Caption = "商品編號(hào)"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = "商品名稱"
Caption = "商品名稱"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column02
DataField = "單位"
Caption = "單位"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column03
DataField = "進(jìn)價(jià)"
Caption = "進(jìn)價(jià)"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column04
DataField = "數(shù)量"
Caption = "數(shù)量"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column05
DataField = "金額"
Caption = "金額"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column06
DataField = "備注"
Caption = "備注"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
ColumnWidth = 1379.906
EndProperty
BeginProperty Column01
ColumnWidth = 3030.236
EndProperty
BeginProperty Column02
ColumnWidth = 585.071
EndProperty
BeginProperty Column03
ColumnWidth = 689.953
EndProperty
BeginProperty Column04
ColumnWidth = 1005.165
EndProperty
BeginProperty Column05
ColumnWidth = 1769.953
EndProperty
BeginProperty Column06
ColumnWidth = 1904.882
EndProperty
EndProperty
End
End
Begin VB.Frame Frame1
Height = 615
Left = 45
TabIndex = 0
Top = -45
Width = 10920
Begin VB.Label Label2
BackStyle = 0 'Transparent
ForeColor = &H00FF0000&
Height = 195
Index = 3
Left = 9675
TabIndex = 6
Top = 285
Width = 1170
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
ForeColor = &H00FF0000&
Height = 195
Index = 2
Left = 7920
TabIndex = 5
Top = 285
Width = 1215
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
ForeColor = &H00FF0000&
Height = 195
Index = 1
Left = 5370
TabIndex = 4
Top = 285
Width = 1740
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
ForeColor = &H00FF0000&
Height = 195
Index = 0
Left = 825
TabIndex = 3
Top = 285
Width = 3735
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "供應(yīng)商: 操作員: 經(jīng)手人: 倉(cāng)庫(kù):"
Height = 270
Left = 135
TabIndex = 2
Top = 270
Width = 10350
End
End
Begin VB.Frame Frame2
Height = 615
Left = 45
Top = 435
Width = 10920
Begin VB.Label Label2
BackStyle = 0 'Transparent
ForeColor = &H000000FF&
Height = 195
Index = 5
Left = 5205
TabIndex = 9
Top = 270
Width = 3735
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
ForeColor = &H000000FF&
Height = 195
Index = 4
Left = 675
TabIndex = 8
Top = 270
Width = 3105
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "日期: 票號(hào):"
Height = 345
Left = 165
TabIndex = 7
Top = 225
Width = 5400
End
End
End
Attribute VB_Name = "main_ysyf_jhdxx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Activate()
'查詢進(jìn)貨信息
Adodc1.RecordSource = "select * from 進(jìn)貨表 where 進(jìn)貨表.票號(hào)='" + Trim(main_ysyf_yfzkgl.Adodc1.Recordset.Fields("進(jìn)貨票號(hào)")) + "'"
Adodc1.Refresh
If Adodc1.Recordset.RecordCount > 0 Then
'給label2賦值
Label2(0).Caption = Adodc1.Recordset.Fields("供應(yīng)商")
Label2(1).Caption = Adodc1.Recordset.Fields("操作員")
Label2(2).Caption = Adodc1.Recordset.Fields("經(jīng)手人")
Label2(3).Caption = Adodc1.Recordset.Fields("倉(cāng)庫(kù)")
Label2(4).Caption = Adodc1.Recordset.Fields("日期")
Label2(5).Caption = Adodc1.Recordset.Fields("票號(hào)")
Else
MsgBox "無(wú)進(jìn)貨單信息!"
End If
Me.Caption = Me.Caption & " " & frm_main.St1.Panels(3).text
End Sub
Private Sub Form_Unload(Cancel As Integer)
main_ysyf_yfzkgl.Enabled = True
End Sub
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -