📄 frmsztj.frm
字号:
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 frmSztj
Caption = "家庭收支统计"
ClientHeight = 4485
ClientLeft = 60
ClientTop = 345
ClientWidth = 5265
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4485
ScaleWidth = 5265
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton retCom
Caption = "返回"
Height = 375
Left = 3840
TabIndex = 9
Top = 3840
Width = 975
End
Begin VB.CommandButton Comm1
Caption = "打印统计表"
Height = 375
Left = 3720
TabIndex = 8
Top = 3240
Width = 1335
End
Begin VB.Frame Frame1
Caption = "日期段设置"
Height = 1335
Left = 240
TabIndex = 1
Top = 3120
Width = 3255
Begin VB.CommandButton selcmd2
Caption = "重置"
Height = 375
Left = 1800
TabIndex = 7
Top = 840
Width = 735
End
Begin VB.CommandButton selcmd1
Caption = "确定"
Height = 375
Left = 600
TabIndex = 6
Top = 840
Width = 735
End
Begin VB.TextBox Text1
Height = 285
Index = 1
Left = 1920
TabIndex = 5
Top = 360
Width = 855
End
Begin VB.TextBox Text1
Height = 285
Index = 0
Left = 720
TabIndex = 3
Top = 360
Width = 855
End
Begin VB.Label Label1
Caption = "到"
Height = 255
Index = 1
Left = 1680
TabIndex = 4
Top = 360
Width = 375
End
Begin VB.Label Label1
Caption = "从"
Height = 255
Index = 0
Left = 240
TabIndex = 2
Top = 360
Width = 375
End
End
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "frmSztj.frx":0000
Height = 2655
Left = 120
TabIndex = 0
Top = 360
Width = 5055
_ExtentX = 8916
_ExtentY = 4683
_Version = 393216
AllowUpdate = 0 'False
HeadLines = 1
RowHeight = 15
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 2
BeginProperty Column00
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 1033
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 = 1033
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 0
Top = 0
Visible = 0 'False
Width = 5295
_ExtentX = 9340
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 3
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "DSN=FAM"
OLEDBString = ""
OLEDBFile = ""
DataSourceName = "FAM"
OtherAttributes = ""
UserName = "admin"
Password = ""
RecordSource = "select * from fxb"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
End
Attribute VB_Name = "frmSztj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim first As Boolean
Private Sub Comm1_Click()
Dim sqltxt As String
If first = True Then dataenvironment1.Command1
first = False
dataenvironment1.rscommand1.Requery '数据源刷新
datareport1.Show vbModal
End Sub
Private Sub Form_Load()
Dim rs As ADODB.Recordset
Dim rs1 As ADODB.Recordset
Dim rs2 As ADODB.Recordset
Dim rs3 As ADODB.Recordset
Dim sqltxt As String
first = True
sqltxt = "delete fxb"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -