📄 frm临表选择.frm
字号:
VERSION 5.00
Object = "{00025600-0000-0000-C000-000000000046}#4.6#0"; "CRYSTL32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "COMDLG32.OCX"
Begin VB.Form Frm临表选择
Caption = "临时发放报表选择"
ClientHeight = 2025
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 2025
ScaleWidth = 4680
StartUpPosition = 2 'CenterScreen
Begin MSComDlg.CommonDialog CD1
Left = 4110
Top = 60
_ExtentX = 847
_ExtentY = 847
_Version = 327680
End
Begin Crystal.CrystalReport CR1
Left = 3480
Top = 90
_ExtentX = 741
_ExtentY = 741
_Version = 262150
End
Begin VB.CommandButton Command3
Caption = "打印机设置(&s)"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 180
TabIndex = 5
Top = 1440
Width = 1905
End
Begin VB.CommandButton Command2
Cancel = -1 'True
Caption = "返回(&Q)"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 3330
TabIndex = 4
Top = 1440
Width = 1245
End
Begin VB.CommandButton Command1
Caption = "打印(&P)"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 2100
TabIndex = 3
Top = 1440
Width = 1215
End
Begin VB.Frame Frame1
Caption = "选择表类型:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1065
Left = 180
TabIndex = 0
Top = 180
Width = 4365
Begin VB.OptionButton Option2
Caption = "汇总表"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 2400
TabIndex = 2
Top = 450
Width = 1395
End
Begin VB.OptionButton Option1
Caption = "签名表"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 720
TabIndex = 1
Top = 480
Value = -1 'True
Width = 1425
End
End
End
Attribute VB_Name = "Frm临表选择"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim bpwjm As String
Private Sub Command1_Click()
CR1.DataFiles(0) = xtlj & "dwxx.mdb"
CR1.ReportFileName = bpwjm
CR1.PrintReport
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
cd1.ShowPrinter
End Sub
Private Sub Form_Load()
Option1.Value = True
bpwjm = xtlj & "rpt\临发表.rpt"
End Sub
Private Sub Option1_Click()
bpwjm = xtlj & "rpt\临发表.rpt"
End Sub
Private Sub Option2_Click()
bpwjm = xtlj & "rpt\临发汇.rpt"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -