rptzpj.dsr

来自「餐饮管理系统数据库设计文档 表名:bzqbj(保质期报警表) 字段名 字段」· DSR 代码 · 共 68 行

DSR
68
字号
VERSION 5.00
Begin {82282820-C017-11D0-A87C-00A0C90F29FC} rptzpj 
   Caption         =   "支票夹"
   ClientHeight    =   11010
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   15240
   StartUpPosition =   3  'Windows Default
   WindowState     =   2  'Maximized
   _ExtentX        =   26882
   _ExtentY        =   19420
   SectionData     =   "rptzpj.dsx":0000
End
Attribute VB_Name = "rptzpj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit
Private Sub ActiveReport_ReportStart()
    Me.Printer.Orientation = ddOPortrait '??
    Me.Printer.PaperSize = vbPRPSA4
'    Me.PageSettings.BottomMargin = 1200
'    Me.PageSettings.LeftMargin = 900
'    Me.PageSettings.RightMargin = 600
'    Me.PageSettings.TopMargin = 1200
End Sub
Private Sub Detail_Format()
On Error Resume Next

    If Me.dtczpj.Recordset.RecordCount = 0 Then
        MsgBox "没有任何支票!", vbInformation, "支票夹"
        Unload rptzpj
        Exit Sub
    End If

    With Me.dtczpj.Recordset
        Field2 = Fields("zph")
        Field3 = Format(Fields("je"), kfmtc)
        Field4 = Fields("dh")
        Field5 = Fields("khmc")
        Field6 = Fields("zt")
        Field7 = Fields("jzh")
   

    End With

            
End Sub

Private Sub PageHeader_Format()

    Label2 = "支 票 号"
    Label3 = "金    额"
    Label4 = "电    话"
    Label5 = "客 户 名"
    Label6 = "状    态"
    Label7 = "记 帐 号"
   
    
End Sub





⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?