⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmreports.frm

📁 Visual Basic管理信息系统开发 文档管理(源代码)
💻 FRM
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frmReports 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "报表选择"
   ClientHeight    =   3195
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command2 
      Caption         =   "打印"
      Height          =   375
      Left            =   3480
      TabIndex        =   6
      Top             =   2700
      Width           =   1035
   End
   Begin VB.CommandButton Command1 
      Caption         =   "预览"
      Height          =   375
      Left            =   1920
      TabIndex        =   5
      Top             =   2700
      Width           =   1035
   End
   Begin VB.Frame Frame1 
      Caption         =   "[条件]"
      Height          =   2475
      Left            =   60
      TabIndex        =   0
      Top             =   120
      Width           =   4455
      Begin MSComCtl2.DTPicker DTPicker2 
         Height          =   315
         Left            =   300
         TabIndex        =   4
         Top             =   1800
         Width           =   3975
         _ExtentX        =   7011
         _ExtentY        =   556
         _Version        =   393216
         Format          =   23920640
         CurrentDate     =   36936
      End
      Begin MSComCtl2.DTPicker DTPicker1 
         Height          =   315
         Left            =   300
         TabIndex        =   3
         Top             =   720
         Width           =   3975
         _ExtentX        =   7011
         _ExtentY        =   556
         _Version        =   393216
         Format          =   23920640
         CurrentDate     =   36936
      End
      Begin VB.Label Label2 
         Caption         =   "结束时间:"
         Height          =   255
         Left            =   240
         TabIndex        =   2
         Top             =   1440
         Width           =   915
      End
      Begin VB.Label Label1 
         Caption         =   "开始时间:"
         Height          =   315
         Left            =   240
         TabIndex        =   1
         Top             =   420
         Width           =   1335
      End
   End
End
Attribute VB_Name = "frmReports"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
    DEDocuments.rsReport_view.Filter = " 最后归档时间 >= " & DTPicker1.Value & " and 最后归档时间 <=" & DTPicker2.Value
    DRDocuments.Show
    
End Sub

Private Sub Command2_Click()
    DEDocuments.rsReport_view.Filter = " 最后归档时间 >= " & DTPicker1.Value & " and 最后归档时间 <=" & DTPicker2.Value
    DRDocuments.PrintReport (True)
End Sub

⌨️ 快捷键说明

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