📄 frmloadingae.frm
字号:
TabIndex = 36
Top = 1050
Width = 1215
End
Begin VB.Label Label8
Alignment = 1 'Right Justify
Caption = "Total Loaded Qty"
ForeColor = &H0000011D&
Height = 240
Left = 0
TabIndex = 35
Top = 2175
Width = 1515
End
Begin VB.Label Label10
Alignment = 1 'Right Justify
Caption = "Total Van Inventory Qty"
ForeColor = &H0000011D&
Height = 240
Left = 5325
TabIndex = 34
Top = 2175
Width = 1815
End
Begin VB.Label Label12
Alignment = 1 'Right Justify
Caption = "Total Qty"
ForeColor = &H0000011D&
Height = 240
Left = 0
TabIndex = 33
Top = 2700
Width = 1515
End
Begin VB.Label Label13
Alignment = 1 'Right Justify
Caption = "Amount"
ForeColor = &H0000011D&
Height = 240
Left = 3075
TabIndex = 32
Top = 2700
Width = 840
End
Begin VB.Shape Shape1
BackColor = &H80000010&
BackStyle = 1 'Opaque
BorderColor = &H80000010&
Height = 240
Left = 300
Top = 750
Width = 3765
End
Begin VB.Shape Shape2
BackColor = &H80000010&
BackStyle = 1 'Opaque
BorderColor = &H80000010&
Height = 240
Left = 5250
Top = 750
Width = 5790
End
End
Begin VB.CommandButton btnProdAvailable
Caption = "View Product Stocks"
Height = 315
Left = 2100
TabIndex = 23
Top = 7350
Width = 1830
End
Begin VB.CommandButton btnRemove
Height = 275
Left = 225
Picture = "frmLoadingAE.frx":038A
Style = 1 'Graphical
TabIndex = 26
ToolTipText = "Remove"
Top = 4725
Visible = 0 'False
Width = 275
End
Begin VB.CommandButton cmdSave
Caption = "Save"
Default = -1 'True
Height = 315
Left = 8100
TabIndex = 24
Top = 7350
Width = 1335
End
Begin VB.CommandButton cmdCancel
Caption = "Cancel"
Height = 315
Left = 9540
TabIndex = 25
Top = 7350
Width = 1335
End
Begin VB.CommandButton cmdUsrHistory
Caption = "Modification History"
Height = 315
Left = 225
TabIndex = 22
Top = 7350
Width = 1755
End
Begin VB.TextBox txtCLAmount
BackColor = &H00E6FFFF&
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 285
Left = 9375
Locked = -1 'True
TabIndex = 21
Text = "0.00"
Top = 6825
Width = 1500
End
Begin VB.TextBox txtEntry
BackColor = &H00E6FFFF&
ForeColor = &H00000000&
Height = 285
Index = 0
Left = 1425
Locked = -1 'True
TabIndex = 0
TabStop = 0 'False
Top = 150
Width = 2490
End
Begin MSHierarchicalFlexGridLib.MSHFlexGrid Grid
Height = 2190
Left = 150
TabIndex = 20
Top = 4575
Width = 10755
_ExtentX = 18971
_ExtentY = 3863
_Version = 393216
Rows = 0
FixedRows = 0
FixedCols = 0
RowHeightMin = 275
ForeColorFixed = -2147483640
BackColorSel = 1091552
ForeColorSel = 16777215
BackColorBkg = -2147483643
GridColor = -2147483633
GridColorFixed = -2147483633
GridColorUnpopulated= -2147483633
AllowBigSelection= 0 'False
FocusRect = 0
SelectionMode = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_NumberOfBands = 1
_Band(0).Cols = 2
_Band(0).GridLinesBand= 1
_Band(0).TextStyleBand= 0
_Band(0).TextStyleHeader= 0
End
Begin MSDataListLib.DataCombo dcVan
Height = 315
Left = 8400
TabIndex = 3
Top = 150
Width = 2505
_ExtentX = 4419
_ExtentY = 556
_Version = 393216
Style = 2
BackColor = -2147483643
ForeColor = -2147483640
Text = ""
End
Begin MSComCtl2.DTPicker dtpDate
Height = 285
Left = 1425
TabIndex = 1
Top = 525
Width = 2505
_ExtentX = 4419
_ExtentY = 503
_Version = 393216
CustomFormat = "MMM-dd-yyyy"
Format = 44433411
CurrentDate = 38207
End
Begin VB.TextBox txtDate
Height = 285
Left = 1425
Locked = -1 'True
TabIndex = 2
Top = 525
Visible = 0 'False
Width = 2475
End
Begin VB.Line Line2
BorderColor = &H80000014&
Index = 1
X1 = 150
X2 = 10875
Y1 = 4125
Y2 = 4125
End
Begin VB.Line Line1
BorderColor = &H80000010&
BorderWidth = 2
Index = 1
X1 = 150
X2 = 10875
Y1 = 4125
Y2 = 4125
End
Begin VB.Label Label11
BackStyle = 0 'Transparent
Caption = "Current Load"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000014&
Height = 210
Left = 225
TabIndex = 31
Top = 4275
Width = 4365
End
Begin VB.Label Label9
Alignment = 1 'Right Justify
Caption = " Load Amount"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000011D&
Height = 240
Left = 7275
TabIndex = 30
Top = 6825
Width = 2040
End
Begin VB.Line Line2
BorderColor = &H80000014&
Index = 0
X1 = 150
X2 = 10875
Y1 = 900
Y2 = 900
End
Begin VB.Line Line1
BorderColor = &H80000010&
BorderWidth = 2
Index = 0
X1 = 150
X2 = 10875
Y1 = 900
Y2 = 900
End
Begin VB.Label Labels
Alignment = 1 'Right Justify
Caption = "Van"
Height = 240
Index = 4
Left = 7125
TabIndex = 29
Top = 150
Width = 1215
End
Begin VB.Label Labels
Alignment = 1 'Right Justify
Caption = "Loading Date"
Height = 240
Index = 1
Left = 150
TabIndex = 28
Top = 525
Width = 1215
End
Begin VB.Label Labels
Alignment = 1 'Right Justify
Caption = "Loading No"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Index = 0
Left = 75
TabIndex = 15
Top = 150
Width = 1290
End
Begin VB.Shape Shape3
BackColor = &H80000010&
BackStyle = 1 'Opaque
BorderColor = &H80000010&
Height = 240
Left = 150
Top = 4275
Width = 10740
End
End
Attribute VB_Name = "frmLoadingAE"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public State As FormState 'Variable used to determine on how the form used
Public PK As Long 'Variable used to get what record is going to edit
Public LLFK As Long 'Last loading FK
Public CloseMe As Boolean
Dim PCase As Long 'Pieces per case
Dim PBox As Long 'Pieces per box
Dim clAmount As Currency 'Current Loading Amount
Dim clRowCount As Integer
Dim HaveAction As Boolean 'Variable used to detect if the user perform some action
Dim rs As New Recordset 'Main recordset for loading
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -