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

📄 查询条件界面.frm

📁 财务信息管理系统,适合做毕业论文的人使用
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form frmBudgetQuery 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "报表查询"
   ClientHeight    =   3300
   ClientLeft      =   3345
   ClientTop       =   2460
   ClientWidth     =   6270
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3300
   ScaleWidth      =   6270
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton btnUnitName 
      Height          =   255
      Left            =   5760
      Style           =   1  'Graphical
      TabIndex        =   11
      Top             =   960
      Visible         =   0   'False
      Width           =   255
   End
   Begin VB.CommandButton btnCheck 
      Height          =   255
      Left            =   5760
      Style           =   1  'Graphical
      TabIndex        =   15
      Top             =   2400
      Visible         =   0   'False
      Width           =   255
   End
   Begin VB.CommandButton btnBill 
      Height          =   255
      Left            =   5760
      Style           =   1  'Graphical
      TabIndex        =   14
      Top             =   1920
      Visible         =   0   'False
      Width           =   255
   End
   Begin VB.TextBox txtCheck 
      Height          =   270
      Left            =   1560
      TabIndex        =   6
      ToolTipText     =   "F2激活参照!"
      Top             =   2400
      Width           =   4215
   End
   Begin VB.TextBox txtBill 
      Height          =   270
      Left            =   1560
      TabIndex        =   5
      ToolTipText     =   "F2激活参照!"
      Top             =   1920
      Width           =   4215
   End
   Begin VB.Frame Frame1 
      Height          =   2655
      Left            =   120
      TabIndex        =   8
      Top             =   120
      Width           =   6015
      Begin VB.TextBox txtdStart 
         Alignment       =   1  'Right Justify
         Height          =   270
         Left            =   1440
         TabIndex        =   3
         Top             =   1275
         Width           =   1935
      End
      Begin VB.TextBox txtdEnd 
         Alignment       =   1  'Right Justify
         Height          =   270
         Left            =   3720
         TabIndex        =   4
         Top             =   1275
         Width           =   1935
      End
      Begin VB.CommandButton btndEnd 
         Height          =   255
         Left            =   5640
         Style           =   1  'Graphical
         TabIndex        =   13
         Top             =   1290
         Visible         =   0   'False
         Width           =   255
      End
      Begin VB.TextBox txtUnitName 
         Height          =   270
         Left            =   1440
         TabIndex        =   2
         ToolTipText     =   "F2激活参照!"
         Top             =   825
         Width           =   4215
      End
      Begin VB.TextBox txtEndID 
         Height          =   270
         Left            =   3720
         MaxLength       =   60
         TabIndex        =   1
         ToolTipText     =   "截至编号!"
         Top             =   360
         Width           =   1935
      End
      Begin VB.TextBox txtStartID 
         Height          =   270
         Left            =   1440
         MaxLength       =   60
         TabIndex        =   0
         ToolTipText     =   "起始编号!"
         Top             =   360
         Width           =   1935
      End
      Begin VB.CommandButton btndStart 
         Height          =   255
         Left            =   3360
         Style           =   1  'Graphical
         TabIndex        =   12
         Top             =   1283
         Visible         =   0   'False
         Width           =   255
      End
      Begin VB.ComboBox cboBook 
         Height          =   300
         ItemData        =   "查询条件界面.frx":0000
         Left            =   1440
         List            =   "查询条件界面.frx":000A
         Style           =   2  'Dropdown List
         TabIndex        =   9
         ToolTipText     =   "选择是统计未记帐记录!"
         Top             =   2760
         Visible         =   0   'False
         Width           =   4215
      End
      Begin VB.Label Label7 
         Caption         =   "至"
         Height          =   255
         Left            =   3480
         TabIndex        =   23
         Top             =   1320
         Width           =   255
      End
      Begin VB.Label Label6 
         Caption         =   "至"
         Height          =   255
         Left            =   3480
         TabIndex        =   22
         Top             =   360
         Width           =   255
      End
      Begin VB.Label Label4 
         Alignment       =   1  'Right Justify
         Caption         =   "申报日期:"
         Height          =   255
         Left            =   240
         TabIndex        =   21
         Top             =   1320
         Width           =   975
      End
      Begin VB.Label Label3 
         Alignment       =   1  'Right Justify
         Caption         =   "审 批 人:"
         Height          =   255
         Left            =   240
         TabIndex        =   20
         Top             =   2280
         Width           =   975
      End
      Begin VB.Label Label2 
         Alignment       =   1  'Right Justify
         Caption         =   "单位名称:"
         Height          =   255
         Left            =   240
         TabIndex        =   19
         Top             =   840
         Width           =   975
      End
      Begin VB.Label Label1 
         Alignment       =   1  'Right Justify
         Caption         =   "编    号:"
         Height          =   255
         Left            =   240
         TabIndex        =   18
         Top             =   360
         Width           =   975
      End
      Begin VB.Label Label5 
         Alignment       =   1  'Right Justify
         Caption         =   "制 单 人:"
         Height          =   255
         Left            =   240
         TabIndex        =   17
         Top             =   1800
         Width           =   975
      End
      Begin VB.Label lbBook 
         Alignment       =   1  'Right Justify
         Caption         =   "查未记账:"
         Height          =   255
         Left            =   240
         TabIndex        =   16
         Top             =   2760
         Visible         =   0   'False
         Width           =   975
      End
   End
   Begin VB.CommandButton btnCancel 
      Caption         =   "取消"
      Height          =   375
      Left            =   4920
      TabIndex        =   10
      Top             =   2880
      Width           =   1215
   End
   Begin VB.CommandButton btnOk 
      Caption         =   "确定"
      Height          =   375
      Left            =   3480
      TabIndex        =   7
      Top             =   2880
      Width           =   1215
   End
   Begin VB.Label Label8 
      Caption         =   "至"
      Height          =   255
      Left            =   3600
      TabIndex        =   24
      Top             =   1440
      Width           =   255
   End
End
Attribute VB_Name = "frmBudgetQuery"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private stype As String '保存查询类别
Private sWhere As String '保存获取的查询条件

Public Sub ShowAnalys(ByVal val As Boolean)
    If val Then
        Me.Height = Me.Height + 550
        Frame1.Height = Frame1.Height + 550
        btnOK.top = btnOK.top + 550
        btnCancel.top = btnCancel.top + 550
        cboBook.Visible = True
        cboBook.ListIndex = 0
        lbBook.Visible = True
    Else
        cboBook.Visible = False
        lbBook.Visible = False
    End If
End Sub

Public Sub ReportType(ByVal vNewValue As String)
    stype = vNewValue
End Sub

Public Function book() As Integer
    book = cboBook.ListIndex
End Function

Public Function where() As String
    where = sWhere
End Function

Private Sub btnBill_Click()
    Dim rtn As ADODB.Recordset
    Dim str As String
    Dim Node As IXMLDOMElement
    
    On Error Resume Next
    
    Set Node = m_objRefTree.documentElement.selectSingleNode("user")
    Set rtn = objShowCommonRef(Node.getAttribute("sql"), Node.getAttribute("fieldname"), True)
        
    If rtn Is Nothing Then
        Exit Sub
    End If
    
    While Not rtn.EOF
        str = str & "" & rtn(Node.getAttribute("showfield")) & ","
        rtn.MoveNext
    Wend
    If str <> "" Then
        txtBill = mID(str, 1, Len(str) - 1)
    End If
End Sub

Private Sub btnBill_LostFocus()
    btnBill.Visible = False
End Sub

Private Sub btnCancel_Click()
    sWhere = ""
    Unload Me
End Sub

Private Sub btnCheck_Click()
    Dim rtn As ADODB.Recordset
    Dim str As String
    Dim Node As IXMLDOMElement
    
    On Error Resume Next
    
    Set Node = m_objRefTree.documentElement.selectSingleNode("user")
    Set rtn = objShowCommonRef(Node.getAttribute("sql"), Node.getAttribute("fieldname"), True)
        

⌨️ 快捷键说明

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