?? frmmaterlist1.frm
字號:
VERSION 5.00
Begin VB.Form frmMaterList1
BorderStyle = 3 'Fixed Dialog
Caption = "物資余額信息"
ClientHeight = 2964
ClientLeft = 48
ClientTop = 336
ClientWidth = 8052
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2964
ScaleWidth = 8052
ShowInTaskbar = 0 'False
StartUpPosition = 1 'CenterOwner
Begin VB.Frame Frame2
Caption = "庫存信息"
Height = 2175
Left = 4080
TabIndex = 15
Top = 240
Width = 3735
Begin VB.TextBox txtItem
Height = 270
Index = 7
Left = 1320
TabIndex = 7
Top = 1440
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 6
Left = 1320
TabIndex = 6
Top = 960
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 5
Left = 1320
TabIndex = 5
Top = 480
Width = 2175
End
Begin VB.Label Label2
Caption = "倉 庫:"
Height = 255
Index = 9
Left = 240
TabIndex = 18
Top = 1440
Width = 975
End
Begin VB.Label Label2
Caption = "金 額:"
Height = 255
Index = 6
Left = 240
TabIndex = 17
Top = 960
Width = 975
End
Begin VB.Label Label2
Caption = "數 量:"
Height = 255
Index = 4
Left = 240
TabIndex = 16
Top = 480
Width = 975
End
End
Begin VB.Frame Frame1
Caption = "物資信息"
Height = 2175
Left = 240
TabIndex = 9
Top = 240
Width = 3735
Begin VB.TextBox txtItem
Height = 270
Index = 4
Left = 1320
TabIndex = 4
Top = 1800
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 3
Left = 1320
TabIndex = 3
Top = 1440
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 2
Left = 1320
Locked = -1 'True
TabIndex = 2
Top = 1080
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 1
Left = 1320
TabIndex = 1
Top = 720
Width = 2175
End
Begin VB.TextBox txtItem
Height = 270
Index = 0
Left = 1320
TabIndex = 0
Top = 360
Width = 2175
End
Begin VB.Label Label2
Caption = "類 別:"
Height = 255
Index = 3
Left = 240
TabIndex = 14
Top = 1440
Width = 975
End
Begin VB.Label Label2
Caption = "物資編號:"
Height = 255
Index = 0
Left = 240
TabIndex = 13
Top = 360
Width = 975
End
Begin VB.Label Label2
Caption = "物資名稱:"
Height = 255
Index = 1
Left = 240
TabIndex = 12
Top = 720
Width = 975
End
Begin VB.Label Label2
Caption = "計量單位:"
Height = 255
Index = 2
Left = 240
TabIndex = 11
Top = 1800
Width = 975
End
Begin VB.Label Label2
Caption = "規格型號:"
Height = 255
Index = 16
Left = 240
TabIndex = 10
Top = 1080
Width = 975
End
End
Begin VB.CommandButton cmdExit
Caption = "返回 (&X)"
Height = 375
Left = 6480
TabIndex = 8
Top = 2520
Width = 1215
End
End
Attribute VB_Name = "frmMaterList1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'是否改動過記錄,ture為改過
Dim mblChange As Boolean
Public txtSQL As String
Dim MsgText As String
Dim mrc As ADODB.Recordset
Private Sub cmdExit_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim sSql As String
Dim intCount As Integer
Set mrc = ExecuteSQL(txtSQL, MsgText)
If mrc.EOF = False Then
With mrc
For intCount = 0 To 7
If Not IsNull(.Fields(intCount)) Then
txtItem(intCount) = .Fields(intCount)
End If
Next intCount
End With
End If
mrc.Close
End Sub
Private Sub Form_Unload(Cancel As Integer)
gintLmode = 0
End Sub
Private Sub txtItem_GotFocus(Index As Integer)
txtItem(Index).SelStart = 0
txtItem(Index).SelLength = Len(txtItem(Index))
End Sub
Private Sub txtItem_KeyDown(Index As Integer, KeyCode As Integer, Shift As Integer)
EnterToTab KeyCode
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -