📄 arsp12print.dsr
字号:
VERSION 5.00
Begin {82282820-C017-11D0-A87C-00A0C90F29FC} ARsp12print
Caption = "通用进销存 - ARsp12print (ActiveReport)"
ClientHeight = 8595
ClientLeft = 105
ClientTop = 180
ClientWidth = 11880
Icon = "ARsp12print.dsx":0000
_ExtentX = 20955
_ExtentY = 15161
SectionData = "ARsp12print.dsx":0442
End
Attribute VB_Name = "ARsp12print"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i As Integer
Private Sub ActiveReport_Initialize()
Call printini(DAO, ARsp12print)
lbl.Caption = "汇总日期:" & frmprint.DTP1.value & "至" & frmprint.DTP2.value & frmprint.lblfang & frmprint.cmbfang & " " & frmprint.lbl1(0) & frmprint.Cmbtype & " " & frmprint.lbl1(1) & frmprint.cmbTown & " 型体:" & frmprint.cmbType1 & frmprint.cmbType2 & frmprint.cmbType3
i = 1
If frmprint.cmbfang <> "全部" Then
lbl1.Visible = True
lblbuss.Visible = True
Dim optb As Recordset
Set optb = New Recordset
optb.Open "select * from client where fangxiang=" & "'" & frmprint.cmbfang.Text & "'", db, adOpenStatic, adLockOptimistic
If optb.RecordCount <> 0 Then
If IsNull(optb!opertion) = False Then lblbuss.Caption = optb!opertion
End If
End If
End Sub
Private Sub Detail_Format()
' lblno.Caption = i
i = i + 1
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -