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

📄 ht_dfgl.frm

📁 该系统为酒店日常管理提供了很大的方便
💻 FRM
📖 第 1 页 / 共 3 页
字号:
            TabIndex        =   27
            Top             =   1320
            Width           =   945
         End
         Begin VB.Label Label4 
            AutoSize        =   -1  'True
            Caption         =   "合同有效期:"
            BeginProperty Font 
               Name            =   "宋体"
               Size            =   10.5
               Charset         =   134
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            Height          =   210
            Left            =   240
            TabIndex        =   26
            Top             =   1800
            Width           =   1155
         End
         Begin VB.Label Label5 
            AutoSize        =   -1  'True
            Caption         =   "甲方代表:"
            BeginProperty Font 
               Name            =   "宋体"
               Size            =   10.5
               Charset         =   134
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            Height          =   210
            Left            =   240
            TabIndex        =   25
            Top             =   2280
            Width           =   945
         End
         Begin VB.Label Label6 
            AutoSize        =   -1  'True
            Caption         =   "结算方式:"
            BeginProperty Font 
               Name            =   "宋体"
               Size            =   10.5
               Charset         =   134
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            Height          =   210
            Left            =   240
            TabIndex        =   24
            Top             =   2760
            Width           =   945
         End
      End
      Begin VB.CommandButton Cmd2 
         Caption         =   "建立(F2)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   555
         Index           =   0
         Left            =   480
         Picture         =   "ht_dfgl.frx":0000
         TabIndex        =   1
         Top             =   6720
         Width           =   1575
      End
      Begin VB.CommandButton Cmd2 
         Caption         =   "修改(F3)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   555
         Index           =   1
         Left            =   2280
         Picture         =   "ht_dfgl.frx":066A
         TabIndex        =   2
         Top             =   6720
         Width           =   1575
      End
      Begin VB.CommandButton Cmd2 
         Caption         =   "解除(F4)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   555
         Index           =   2
         Left            =   4080
         Picture         =   "ht_dfgl.frx":0AAC
         TabIndex        =   3
         Top             =   6720
         Width           =   1575
      End
      Begin VB.CommandButton Cmd2 
         Caption         =   "打印(F5)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   555
         Index           =   3
         Left            =   5880
         Picture         =   "ht_dfgl.frx":0BAE
         TabIndex        =   4
         Top             =   6720
         Width           =   1575
      End
      Begin VB.CommandButton Cmd2 
         Caption         =   "查询(F10)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   555
         Index           =   5
         Left            =   9480
         Picture         =   "ht_dfgl.frx":0CB0
         TabIndex        =   6
         Top             =   6720
         Width           =   1575
      End
      Begin VB.Timer Timer1 
         Interval        =   1000
         Left            =   240
         Top             =   2400
      End
      Begin MSFlexGridLib.MSFlexGrid FLEX1 
         Height          =   5535
         Left            =   120
         TabIndex        =   0
         Top             =   960
         Width           =   6405
         _ExtentX        =   11298
         _ExtentY        =   9763
         _Version        =   327680
         Rows            =   3
         Cols            =   10
         FixedCols       =   0
         BackColor       =   -2147483624
         FocusRect       =   0
         SelectionMode   =   1
         AllowUserResizing=   3
      End
      Begin VB.Label nam 
         AutoSize        =   -1  'True
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   210
         Left            =   8880
         TabIndex        =   31
         Top             =   240
         Width           =   135
      End
      Begin VB.Label rec_no 
         AutoSize        =   -1  'True
         Caption         =   "Label14"
         Height          =   180
         Left            =   4680
         TabIndex        =   30
         Top             =   240
         Width           =   630
      End
      Begin VB.Label tab_nam 
         AutoSize        =   -1  'True
         Caption         =   "Label14"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   210
         Left            =   240
         TabIndex        =   29
         Top             =   240
         Width           =   855
      End
   End
   Begin VB.Frame JZ 
      Enabled         =   0   'False
      Height          =   600
      Left            =   0
      TabIndex        =   9
      Top             =   8280
      Width           =   10095
      Begin VB.Label JZ_DQSJ2 
         BackStyle       =   0  'Transparent
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   330
         Left            =   7980
         TabIndex        =   15
         Top             =   240
         Width           =   1050
      End
      Begin VB.Label JZ_NAME 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "操作员:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   210
         Left            =   360
         TabIndex        =   14
         Top             =   240
         Width           =   735
      End
      Begin VB.Label JZ_USER 
         BackStyle       =   0  'Transparent
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   330
         Left            =   1440
         TabIndex        =   13
         Top             =   240
         Width           =   1500
      End
      Begin VB.Label JZ_JRSJ1 
         AutoSize        =   -1  'True
         Caption         =   "进入时间:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   210
         Left            =   3240
         TabIndex        =   12
         Top             =   240
         Width           =   945
      End
      Begin VB.Label JZ_JRSJ2 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   195
         Left            =   4320
         TabIndex        =   11
         Top             =   240
         Width           =   1230
      End
      Begin VB.Label JZ_DQSJ1 
         AutoSize        =   -1  'True
         Caption         =   "当前时间:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   210
         Left            =   6930
         TabIndex        =   10
         Top             =   225
         Width           =   945
      End
   End
   Begin VB.CommandButton Cmd3 
      Caption         =   "退出(ESC)"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   555
      Left            =   10200
      TabIndex        =   8
      Top             =   8280
      Width           =   1575
   End
   Begin VB.Label frm_msg 
      BackColor       =   &H8000000A&
      ForeColor       =   &H00FF0000&
      Height          =   495
      Left            =   5520
      TabIndex        =   33
      Top             =   120
      Width           =   6375
   End
   Begin VB.Label Label1 
      BackColor       =   &H00C0C0C0&
      BeginProperty Font 
         Name            =   "黑体"
         Size            =   18
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   0
      TabIndex        =   32
      Top             =   0
      Width           =   11775
   End
End
Attribute VB_Name = "ht_dfgl"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim key_index As Integer
Dim t_bt As String
Dim t_fields As Variant
Dim pass As String
Dim t_lock_no As Integer
Dim response As String
Dim response1 As String
Dim t_rec3 As Recordset   'ADDNEW,EDIT,DELETE
Dim t_rec4 As Recordset   'LOCK_NO
Dim t_rec As Recordset    'MSFLEXGRID
Dim t_rq As String
Dim rec As Recordset
Dim T_TJ As String


Private Sub Form_Load()
    Dim sys_uid As String, sys_pwd As String
    JZ_USER = SYS_USER + Space(1) + SYS_NAME
    JZ_JRSJ2 = Time()
    CENTER Me
    KeyPreview = True
    Set t_rec = YX_data.OpenRecordset("select HTDM,YFDW,YFDB,HTYXQ,JFDB,JS_FS,LOCK_NO from YX_DFHT", 4)
    If Not t_rec.BOF Then
            t_rec.MoveLast
    End If
    tab_nam.Caption = "旅行社租房协议一览表"
    Set rec = PUB_data.OpenRecordset("select JS_FS from ZW_JSFS  ", 4)
    If Not rec.BOF Then
        rec.MoveLast
        rec.MoveFirst
        Dim I As Integer
        I = 0
        Do While Not rec.EOF
            m_js_fs.AddItem Trim(rec.Fields("JS_FS")), I
            rec.MoveNext
            I = I + 1
        Loop
    End If
    Call first
    t_fields = Array(0, 1, 2, 3, 4, 5)
    t_bt = "^  合同编码  |^ 租房单位      |^  乙方代表  |^ 合同有效期  |^   甲方代表   |^   结算方式  "
    
    Call pub_memo.Flex_full(FLEX1, t_bt, t_rec, t_fields, 5, Array(0, 0, 0, 0, 0, 0))
    rec_no.Caption = "当前记录数:" + CStr(FLEX1.Rows - 1)
    'frm_msg.Visible = False
End Sub
Sub MAIN(t_gnmc As String)

⌨️ 快捷键说明

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