📄 frmgyhtdjtj.frm
字号:
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column10
DataField = "印发部门3"
Caption = "印发部门3"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column11
DataField = "印发部门4"
Caption = "印发部门4"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column12
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 Column13
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 Column14
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 = 794.835
EndProperty
BeginProperty Column01
ColumnWidth = 915.024
EndProperty
BeginProperty Column02
ColumnWidth = 1005.165
EndProperty
BeginProperty Column03
ColumnWidth = 824.882
EndProperty
BeginProperty Column04
ColumnWidth = 975.118
EndProperty
BeginProperty Column05
ColumnWidth = 1305.071
EndProperty
BeginProperty Column06
ColumnWidth = 840.189
EndProperty
BeginProperty Column07
ColumnWidth = 870.236
EndProperty
BeginProperty Column08
ColumnWidth = 915.024
EndProperty
BeginProperty Column09
ColumnWidth = 959.811
EndProperty
BeginProperty Column10
ColumnWidth = 915.024
EndProperty
BeginProperty Column11
ColumnWidth = 915.024
EndProperty
BeginProperty Column12
Object.Visible = 0 'False
ColumnWidth = 1739.906
EndProperty
BeginProperty Column13
ColumnWidth = 824.882
EndProperty
BeginProperty Column14
ColumnWidth = 854.929
EndProperty
EndProperty
End
Begin VB.Frame Frame1
Caption = "查询条件"
Height = 1455
Left = 0
TabIndex = 0
Top = 0
Width = 8175
Begin MSComCtl2.DTPicker RQEnd
Height = 300
Left = 4440
TabIndex = 5
Top = 675
Width = 1335
_ExtentX = 2355
_ExtentY = 529
_Version = 393216
Format = 88145921
CurrentDate = 36244
End
Begin MSComCtl2.DTPicker RQBegin
Height = 300
Left = 2640
TabIndex = 4
Top = 675
Width = 1335
_ExtentX = 2355
_ExtentY = 529
_Version = 393216
Format = 88145921
CurrentDate = 36244
End
Begin VB.CommandButton Command1
Caption = "查询"
Height = 375
Left = 7200
TabIndex = 2
Top = 960
Width = 855
End
Begin VB.Label Label2
Caption = "To"
Height = 255
Left = 4200
TabIndex = 7
Top = 720
Width = 615
End
Begin VB.Label Label1
Caption = "From"
Height = 255
Left = 2280
TabIndex = 6
Top = 720
Width = 735
End
End
Begin VB.Label Label4
Caption = "元"
ForeColor = &H000000FF&
Height = 255
Left = 4260
TabIndex = 10
Top = 4350
Width = 315
End
Begin VB.Label Label3
Alignment = 2 'Center
Caption = "金额"
ForeColor = &H00FF0000&
Height = 255
Left = 2280
TabIndex = 9
Top = 4350
Width = 615
End
End
Attribute VB_Name = "FRMGYHTDJTJ"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
RQBeign = RQBegin.Value
RQEnd = RQEnd.Value
Adodc1.RecordSource = "select * from 签定合同概要表 where 合同期限 Between '" & RQBegin & "' and '" & RQEnd & "'"
Adodc1.Refresh
JE = 0
Do While Not Adodc1.Recordset.EOF
JE = JE + Val(Adodc1.Recordset("合同总金额"))
Adodc1.Recordset.MoveNext
Loop
Text1 = JE
End Sub
Private Sub Command2_Click()
HTGL.Enabled = True
Unload Me
End Sub
Private Sub Form_Load()
On Error Resume Next
For Each TextBox In Me.Controls
Next
RQBegin.Value = Date
RQEnd.Value = Date
JE = 0
Do While Not Adodc1.Recordset.EOF
JE = JE + Val(Adodc1.Recordset("合同总金额"))
Adodc1.Recordset.MoveNext
Loop
Text1 = JE
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -