📄 frmprint.frm
字号:
VERSION 5.00
Object = "{00025600-0000-0000-C000-000000000046}#4.6#0"; "crystl32.ocx"
Begin VB.Form Frmprint
Caption = "报表打印"
ClientHeight = 3120
ClientLeft = 60
ClientTop = 420
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3120
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Cmdprint
Caption = "打印"
Height = 375
Left = 1680
TabIndex = 0
Top = 2040
Width = 1095
End
Begin Crystal.CrystalReport CrystalReport1
Left = 480
Top = 1920
_ExtentX = 741
_ExtentY = 741
_Version = 262150
ReportFileName = "D:\杨中圆\三角形闭合差.rpt"
Destination = 1
End
End
Attribute VB_Name = "Frmprint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cmdprint_Click()
Dim i As Integer
Dim strtmp As String
Dim ReportPath As String
Dim arecord As Recordset
ReportPath = App.path + "\三角形闭合差.rpt"
CrystalReport1.ReportFileName = ReportPath
CrystalReport1.DataFiles(0) = g_projectfile
CrystalReport1.WindowState = crptMaximized
CrystalReport1.Action = 1
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -