?? camdenrep.dsr
字號(hào):
VERSION 5.00
Begin {82282820-C017-11D0-A87C-00A0C90F29FC} camdenrep
Caption = "ActiveReport1"
ClientHeight = 5475
ClientLeft = 60
ClientTop = 345
ClientWidth = 10605
StartUpPosition = 2 '屏幕中心
_ExtentX = 18706
_ExtentY = 9657
SectionData = "camdenrep.dsx":0000
End
Attribute VB_Name = "camdenrep"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub ActiveReport_Initialize()
camdenrep.Printer.PaperSize = bgjpapersize
If camprintflag = 1 Then
camdenrep.Printer.PrintDialog
End If
End Sub
Private Sub ActiveReport_ReportStart()
'Printer.PaperWidth = 106 * stunit '紙張高
' Printer.PaperHeight = 51 * stunit '紙張寬
' camdenrep.Printer.PaperSize = bgjpapersize
' camdenrep.Printer.Copies = camprint
If camflag = 1 Then
Label17.Visible = True
Label18.Visible = True
Label27.Visible = True
Label28.Visible = True
Else
Label17.Visible = False
Label18.Visible = False
Label27.Visible = False
Label28.Visible = False
End If
'2006.11.5 add the code *****************
If camflag = 2 Then
Label17.Visible = True
Label18.Visible = True
Label27.Visible = True
Label28.Visible = True
End If
'******************************************
If camabnum < 4 Then
Field1.Left = 1050
Field1.Width = 1750
Field8.Left = 4110
Field8.Width = 1750
Else
Field1.Left = 0
Field1.Width = 2790
Field8.Left = 3075
Field8.Width = 2790
End If
End Sub
Private Sub Detail_AfterPrint()
camprint = 0
End Sub
Private Sub setjpnull()
Dim i As Integer
For i = 1 To 14 '清空數(shù)據(jù)
Me.Detail.Controls("Field" & i).Text = ""
Next
For i = 0 To 1
Me.Detail.Controls("Field" & 1 + i * 7).Text = Trim(camab)
Me.Detail.Controls("Field" & 2 + i * 7).Text = Trim(campn)
Me.Detail.Controls("Field" & 3 + i * 7).Text = Trim(camtype)
Me.Detail.Controls("Field" & 4 + i * 7).Text = Trim(camratings)
Me.Detail.Controls("Field" & 5 + i * 7).Text = Trim(camqty)
Me.Detail.Controls("Field" & 6 + i * 7).Text = Trim(camlotno)
Me.Detail.Controls("Field" & 7 + i * 7).Text = Trim(camdate)
Next
End Sub
Private Sub Detail_Format()
Call setjpnull
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -