📄 pifadan.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form pifadan
Caption = "批发单"
ClientHeight = 7260
ClientLeft = 60
ClientTop = 345
ClientWidth = 9660
LinkTopic = "Form1"
ScaleHeight = 7260
ScaleWidth = 9660
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame1
Height = 7215
Left = 0
TabIndex = 0
Top = 0
Width = 9615
Begin VB.Frame Frame2
Height = 855
Left = 120
TabIndex = 28
Top = 120
Width = 9375
Begin VB.CommandButton Command5
Caption = "Command5"
Height = 255
Left = 9000
TabIndex = 37
Top = 240
Width = 255
End
Begin VB.TextBox Text1
Height = 375
Left = 1080
TabIndex = 32
Top = 240
Width = 1455
End
Begin VB.TextBox Text2
Height = 375
Left = 3240
TabIndex = 31
Top = 240
Width = 1455
End
Begin VB.ComboBox Combo1
Height = 300
Left = 5400
TabIndex = 30
Top = 240
Width = 975
End
Begin VB.ComboBox Combo2
Height = 300
Left = 7320
TabIndex = 29
Top = 240
Width = 1695
End
Begin VB.Label Label1
Caption = "操作时间"
Height = 255
Left = 120
TabIndex = 36
Top = 360
Width = 855
End
Begin VB.Label Label2
Caption = "单据号"
Height = 255
Left = 2640
TabIndex = 35
Top = 360
Width = 855
End
Begin VB.Label Label3
Caption = "操作员"
Height = 255
Left = 4800
TabIndex = 34
Top = 360
Width = 735
End
Begin VB.Label Label4
Caption = "往来单位"
Height = 255
Left = 6480
TabIndex = 33
Top = 360
Width = 855
End
End
Begin VB.Frame Frame3
Height = 2415
Left = 120
TabIndex = 2
Top = 1080
Width = 9375
Begin VB.TextBox Text7
Height = 270
Left = 1080
TabIndex = 39
Top = 240
Width = 1455
End
Begin VB.ComboBox Combo3
Height = 300
Left = 3600
TabIndex = 16
Top = 240
Width = 1575
End
Begin VB.ComboBox Combo4
Height = 300
Left = 3600
TabIndex = 15
Top = 720
Width = 1575
End
Begin VB.TextBox Text3
BackColor = &H00FFFFFF&
BorderStyle = 0 'None
Enabled = 0 'False
Height = 255
Left = 3600
TabIndex = 14
Top = 1320
Width = 735
End
Begin VB.TextBox Text4
BackColor = &H00FFFFFF&
Height = 375
Left = 1080
TabIndex = 13
Top = 1800
Width = 1455
End
Begin VB.ComboBox Combo5
Height = 300
Left = 1080
TabIndex = 12
Top = 720
Width = 1575
End
Begin VB.ComboBox Combo6
Height = 300
Left = 1080
TabIndex = 11
Top = 1200
Width = 1455
End
Begin VB.TextBox Text5
Height = 390
Left = 3600
TabIndex = 10
Top = 1785
Width = 1455
End
Begin VB.TextBox Text6
Height = 495
Left = 6600
MultiLine = -1 'True
TabIndex = 9
Top = 1200
Width = 2415
End
Begin VB.CommandButton Command1
Caption = "计算金额"
Height = 375
Left = 4560
TabIndex = 8
Top = 4200
Width = 1095
End
Begin VB.ComboBox Combo7
Height = 300
Left = 6600
TabIndex = 7
Top = 240
Width = 1815
End
Begin VB.ComboBox Combo8
Height = 300
Left = 6600
TabIndex = 6
Top = 720
Width = 1815
End
Begin VB.CommandButton Command4
Caption = "保 存"
Height = 375
Left = 6840
TabIndex = 5
Top = 1920
Width = 975
End
Begin VB.CommandButton Command3
Caption = "退 出"
Height = 375
Left = 8040
TabIndex = 4
Top = 1920
Width = 975
End
Begin VB.CommandButton Command2
Caption = "批 发"
Height = 375
Left = 5640
TabIndex = 3
Top = 1920
Width = 975
End
Begin VB.Label Label17
Caption = "金额:"
Height = 255
Left = 3000
TabIndex = 41
Top = 1920
Width = 615
End
Begin VB.Label Label16
Caption = "药品代码:"
Height = 255
Left = 120
TabIndex = 40
Top = 240
Width = 975
End
Begin VB.Label Label13
Caption = "Label13"
Height = 495
Left = 3960
TabIndex = 38
Top = 3240
Width = 615
End
Begin VB.Label Label5
Caption = "药品名称:"
Height = 255
Left = 2640
TabIndex = 27
Top = 240
Width = 975
End
Begin VB.Label Label6
Caption = "规格:"
Height = 255
Left = 3000
TabIndex = 26
Top = 720
Width = 615
End
Begin VB.Label Label7
Caption = "价格:"
Height = 255
Left = 3000
TabIndex = 25
Top = 1320
Width = 615
End
Begin VB.Label Label8
Caption = "药品生产期:"
Height = 255
Left = 5400
TabIndex = 24
Top = 240
Width = 1335
End
Begin VB.Label Label9
Caption = "剂型:"
Height = 255
Left = 480
TabIndex = 23
Top = 720
Width = 615
End
Begin VB.Label Label10
Caption = "药品类型:"
Height = 255
Left = 120
TabIndex = 22
Top = 1320
Width = 975
End
Begin VB.Label Label11
Caption = "药品有效期:"
Height = 255
Left = 5400
TabIndex = 21
Top = 840
Width = 1095
End
Begin VB.Label Label12
Caption = "数量:"
Height = 255
Left = 480
TabIndex = 20
Top = 1920
Width = 615
End
Begin VB.Label Label14
Caption = "元"
Height = 255
Left = 4680
TabIndex = 19
Top = 1320
Width = 255
End
Begin VB.Label Label15
Caption = "备注:"
Height = 255
Left = 5760
TabIndex = 18
Top = 1320
Width = 615
End
Begin VB.Label Label21
Caption = "元"
Height = 255
Left = 5040
TabIndex = 17
Top = 1800
Width = 375
End
End
Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1
Height = 3495
Left = 120
TabIndex = 1
Top = 3600
Width = 9375
_ExtentX = 16536
_ExtentY = 6165
_Version = 393216
End
End
End
Attribute VB_Name = "pifadan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Trecordset As New ADODB.Recordset
Dim Trecordset1 As New ADODB.Recordset
Dim Trecordset2 As New ADODB.Recordset
Dim Trecordset3 As New ADODB.Recordset
Dim Trecordset4 As New ADODB.Recordset
Dim Trecordset5 As New ADODB.Recordset
Sub Gridflex()
'init the headers of the msflexgrid1
MSFlexGrid1.Cols = 15
MSFlexGrid1.TextMatrix(0, 0) = "编号"
MSFlexGrid1.TextMatrix(0, 1) = "批发号"
MSFlexGrid1.TextMatrix(0, 2) = "操作员"
MSFlexGrid1.TextMatrix(0, 3) = "往来单位"
MSFlexGrid1.TextMatrix(0, 4) = "批发时间"
MSFlexGrid1.TextMatrix(0, 5) = "药品名称"
MSFlexGrid1.TextMatrix(0, 6) = "包装规格"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -