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

📄 frm_report.frm

📁 ktv场所的包房开房、迎宾、预定管理系统。
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "Mshflxgd.ocx"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form frm_report 
   Caption         =   "销售报表"
   ClientHeight    =   8145
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   11175
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   ScaleHeight     =   8145
   ScaleWidth      =   11175
   StartUpPosition =   1  '所有者中心
   Begin TabDlg.SSTab SSTab1 
      Height          =   4575
      Left            =   120
      TabIndex        =   17
      Top             =   120
      Width           =   6975
      _ExtentX        =   12303
      _ExtentY        =   8070
      _Version        =   393216
      Tabs            =   2
      TabsPerRow      =   2
      TabHeight       =   520
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   11.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      TabCaption(0)   =   "产品销售统计"
      TabPicture(0)   =   "frm_report.frx":0000
      Tab(0).ControlEnabled=   -1  'True
      Tab(0).Control(0)=   "msglist"
      Tab(0).Control(0).Enabled=   0   'False
      Tab(0).ControlCount=   1
      TabCaption(1)   =   "收款统计"
      TabPicture(1)   =   "frm_report.frx":001C
      Tab(1).ControlEnabled=   0   'False
      Tab(1).Control(0)=   "msglist2"
      Tab(1).ControlCount=   1
      Begin MSHierarchicalFlexGridLib.MSHFlexGrid msglist2 
         Height          =   3930
         Left            =   -74850
         TabIndex        =   19
         Top             =   480
         Width           =   6660
         _ExtentX        =   11748
         _ExtentY        =   6932
         _Version        =   393216
         FixedCols       =   0
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   11.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         _NumberOfBands  =   1
         _Band(0).Cols   =   2
      End
      Begin MSHierarchicalFlexGridLib.MSHFlexGrid msglist 
         Height          =   3915
         Left            =   105
         TabIndex        =   18
         Top             =   480
         Width           =   6705
         _ExtentX        =   11827
         _ExtentY        =   6906
         _Version        =   393216
         FixedCols       =   0
         SelectionMode   =   1
         AllowUserResizing=   1
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   11.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         _NumberOfBands  =   1
         _Band(0).Cols   =   2
      End
   End
   Begin MSHierarchicalFlexGridLib.MSHFlexGrid msglist1 
      Height          =   3180
      Left            =   150
      TabIndex        =   10
      Top             =   4800
      Width           =   10920
      _ExtentX        =   19262
      _ExtentY        =   5609
      _Version        =   393216
      FixedCols       =   0
      SelectionMode   =   1
      AllowUserResizing=   1
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _NumberOfBands  =   1
      _Band(0).Cols   =   2
   End
   Begin VB.Frame Frame2 
      Height          =   1695
      Left            =   7260
      TabIndex        =   5
      Top             =   2925
      Width           =   3855
      Begin VB.CommandButton Command1 
         Cancel          =   -1  'True
         Caption         =   "退出(&X)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   420
         Index           =   3
         Left            =   2205
         TabIndex        =   9
         Top             =   990
         Width           =   1275
      End
      Begin VB.CommandButton Command1 
         Caption         =   "打印收款统计"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   420
         Index           =   2
         Left            =   195
         TabIndex        =   8
         Top             =   1005
         Width           =   1695
      End
      Begin VB.CommandButton Command1 
         Caption         =   "打印产品统计"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   420
         Index           =   1
         Left            =   195
         TabIndex        =   7
         Top             =   345
         Width           =   1695
      End
      Begin VB.CommandButton Command1 
         Caption         =   "统计(&T)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   420
         Index           =   0
         Left            =   2205
         TabIndex        =   6
         Top             =   345
         Width           =   1275
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "报表时间、类型"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   2700
      Left            =   7230
      TabIndex        =   0
      Top             =   165
      Width           =   3885
      Begin VB.TextBox txt_ids 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Index           =   1
         Left            =   1095
         TabIndex        =   16
         Top             =   1710
         Width           =   2625
      End
      Begin VB.TextBox txt_ids 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Index           =   0
         Left            =   1095
         TabIndex        =   15
         Top             =   1230
         Width           =   2625
      End
      Begin VB.ComboBox comb_lx 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   330
         Left            =   1110
         TabIndex        =   4
         Text            =   "Combo1"
         Top             =   2220
         Width           =   2625
      End
      Begin MSComCtl2.DTPicker dtptime 
         Height          =   360
         Index           =   0
         Left            =   1095
         TabIndex        =   1
         Top             =   270
         Width           =   2685
         _ExtentX        =   4736
         _ExtentY        =   635
         _Version        =   393216
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   11.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         CustomFormat    =   "yyyy-MM-dd HH:mm:ss"
         Format          =   67633155
         CurrentDate     =   37833
      End
      Begin MSComCtl2.DTPicker dtptime 
         Height          =   360
         Index           =   1
         Left            =   1110
         TabIndex        =   2
         Top             =   780
         Width           =   2685
         _ExtentX        =   4736
         _ExtentY        =   635
         _Version        =   393216
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   11.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         CustomFormat    =   "yyyy-MM-dd HH:mm:ss"
         Format          =   67633155
         CurrentDate     =   37833
      End
      Begin VB.Label Label2 
         Caption         =   "结束帐号:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Index           =   2
         Left            =   120
         TabIndex        =   14
         Top             =   1800
         Width           =   1035
      End
      Begin VB.Label Label2 
         Caption         =   "起始帐号:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Index           =   1
         Left            =   90
         TabIndex        =   13
         Top             =   1320
         Width           =   1035
      End
      Begin VB.Label Label3 
         Caption         =   "结束时间:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Left            =   135
         TabIndex        =   12
         Top             =   855
         Width           =   1035
      End
      Begin VB.Label Label2 
         Caption         =   "起始时间:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Index           =   0
         Left            =   135
         TabIndex        =   11
         Top             =   345
         Width           =   1035
      End
      Begin VB.Label Label1 
         Caption         =   "报表类型:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Left            =   120
         TabIndex        =   3
         Top             =   2280
         Width           =   1035
      End
   End
End
Attribute VB_Name = "frm_report"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public aaa As String

Private Sub comb_lx_Click()
   Dim TxtSQL As String
   Dim msgtext As String
   Dim mrc As ADODB.Recordset

    If Me.comb_lx.ListIndex = 1 Then
        TxtSQL = "select * from counterid where TableName='printsn'"
        Set mrc = ExecuteSQL(TxtSQL, msgtext)
        txt_ids(1) = mrc.Fields("CountNum")
        txt_ids(0) = mrc.Fields("precountnum") + 1

⌨️ 快捷键说明

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