📄 form13.frm
字号:
VERSION 5.00
Begin VB.Form Form12
Caption = "打印和发布"
ClientHeight = 2490
ClientLeft = 60
ClientTop = 450
ClientWidth = 3795
LinkTopic = "Form12"
ScaleHeight = 2490
ScaleWidth = 3795
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "发布成网页"
Height = 375
Left = 600
TabIndex = 1
Top = 1320
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "打印"
Height = 375
Left = 600
TabIndex = 0
Top = 360
Width = 1815
End
End
Attribute VB_Name = "Form12"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
DataReport1.Show
End Sub
Private Sub Command2_Click()
Dim mycn As New ADODB.Connection
Dim myrs As New ADODB.Recordset
Set myrs = New ADODB.Recordset
mycn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=rsgl.mdb;"
myrs.Open " SELECT * INTO [HTML Export;DATABASE=C:\].[xx.HTM] FROM tables2;", mycn, adOpenKeyset, adLockOptimistic
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -