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

📄 form1.frm

📁 vb+sql 用于公交点钞结算和报表结合的相关软件
💻 FRM
📖 第 1 页 / 共 3 页
字号:
            _Band(0).GridLinesBand=   2
            _Band(0).TextStyleBand=   0
            _Band(0).TextStyleHeader=   0
         End
         Begin VB.Label Label22 
            AutoSize        =   -1  'True
            Caption         =   "购车日期:"
            Height          =   180
            Left            =   5250
            TabIndex        =   54
            Top             =   720
            Width           =   900
         End
         Begin VB.Label Label21 
            AutoSize        =   -1  'True
            Caption         =   "车架号:"
            Height          =   180
            Left            =   2580
            TabIndex        =   52
            Top             =   720
            Width           =   720
         End
         Begin VB.Label Label20 
            AutoSize        =   -1  'True
            Caption         =   "车牌照号:"
            Height          =   180
            Left            =   5250
            TabIndex        =   51
            Top             =   330
            Width           =   900
         End
         Begin VB.Label Label19 
            AutoSize        =   -1  'True
            Caption         =   "发动机号:"
            Height          =   180
            Left            =   300
            TabIndex        =   50
            Top             =   720
            Width           =   900
         End
         Begin VB.Label Label6 
            AutoSize        =   -1  'True
            Caption         =   "线路号:"
            Height          =   180
            Left            =   2580
            TabIndex        =   11
            Top             =   330
            Width           =   720
         End
         Begin VB.Label Label5 
            AutoSize        =   -1  'True
            Caption         =   "车辆编号:"
            Height          =   180
            Left            =   300
            TabIndex        =   10
            Top             =   330
            Width           =   900
         End
      End
      Begin VB.Frame Frame2 
         Height          =   4515
         Left            =   -74550
         TabIndex        =   5
         Top             =   630
         Width           =   8235
         Begin VB.ComboBox cmbCompanyLine 
            DataField       =   "Name"
            Height          =   300
            Left            =   6180
            Style           =   2  'Dropdown List
            TabIndex        =   30
            Top             =   270
            Width           =   1725
         End
         Begin VB.TextBox txtlineName 
            Height          =   285
            Left            =   3510
            TabIndex        =   26
            Top             =   270
            Width           =   1605
         End
         Begin VB.TextBox txtSStation 
            Height          =   285
            Left            =   1380
            TabIndex        =   23
            Top             =   630
            Width           =   2445
         End
         Begin VB.TextBox txtEStation 
            Height          =   285
            Left            =   5190
            MaxLength       =   30
            TabIndex        =   22
            Top             =   630
            Width           =   2715
         End
         Begin MSHierarchicalFlexGridLib.MSHFlexGrid mshflexgrdLine 
            Height          =   3045
            Left            =   330
            TabIndex        =   27
            Top             =   1260
            Width           =   7575
            _ExtentX        =   13361
            _ExtentY        =   5371
            _Version        =   393216
            RowHeightMin    =   280
            FillStyle       =   1
            GridLinesUnpopulated=   1
            SelectionMode   =   1
            AllowUserResizing=   1
            RowSizingMode   =   1
            _NumberOfBands  =   1
            _Band(0).Cols   =   2
            _Band(0).GridLinesBand=   2
            _Band(0).TextStyleBand=   0
            _Band(0).TextStyleHeader=   0
         End
         Begin VB.TextBox txtLineNo 
            Height          =   300
            Left            =   1380
            TabIndex        =   32
            Top             =   270
            Width           =   1185
         End
         Begin VB.Label Label10 
            AutoSize        =   -1  'True
            Caption         =   "终点站名称:"
            Height          =   180
            Left            =   4020
            TabIndex        =   29
            Top             =   690
            Width           =   1080
         End
         Begin VB.Label Label12 
            AutoSize        =   -1  'True
            Caption         =   "线路名称:"
            Height          =   180
            Left            =   2640
            TabIndex        =   25
            Top             =   330
            Width           =   900
         End
         Begin VB.Label Label9 
            AutoSize        =   -1  'True
            Caption         =   "所属公司:"
            Height          =   180
            Left            =   5250
            TabIndex        =   24
            Top             =   330
            Width           =   900
         End
         Begin VB.Label Label4 
            AutoSize        =   -1  'True
            Caption         =   "起始站名称:"
            Height          =   180
            Left            =   300
            TabIndex        =   7
            Top             =   690
            Width           =   1080
         End
         Begin VB.Label Label3 
            AutoSize        =   -1  'True
            Caption         =   "线路编号:"
            Height          =   180
            Left            =   300
            TabIndex        =   6
            Top             =   330
            Width           =   900
         End
      End
      Begin VB.Frame Frame1 
         BackColor       =   &H8000000B&
         Height          =   4515
         Left            =   -74550
         TabIndex        =   1
         Top             =   630
         Width           =   8235
         Begin VB.TextBox txtAddress 
            Height          =   285
            Left            =   1170
            MaxLength       =   30
            TabIndex        =   21
            Top             =   630
            Width           =   6735
         End
         Begin VB.TextBox txtTel 
            Height          =   285
            Left            =   6420
            TabIndex        =   20
            Top             =   270
            Width           =   1485
         End
         Begin VB.TextBox txtDeptNo 
            Height          =   285
            Left            =   1170
            MaxLength       =   4
            TabIndex        =   15
            Top             =   270
            Width           =   1185
         End
         Begin MSHierarchicalFlexGridLib.MSHFlexGrid mshflexgrdCompany 
            Height          =   3045
            Left            =   330
            TabIndex        =   14
            Top             =   1260
            Width           =   7575
            _ExtentX        =   13361
            _ExtentY        =   5371
            _Version        =   393216
            RowHeightMin    =   280
            FillStyle       =   1
            SelectionMode   =   1
            AllowUserResizing=   1
            RowSizingMode   =   1
            _NumberOfBands  =   1
            _Band(0).Cols   =   2
            _Band(0).GridLinesBand=   2
            _Band(0).TextStyleBand=   0
            _Band(0).TextStyleHeader=   0
         End
         Begin VB.TextBox txtDeptName 
            Height          =   285
            Left            =   3300
            MaxLength       =   20
            TabIndex        =   2
            Top             =   270
            Width           =   2145
         End
         Begin VB.Label Label8 
            AutoSize        =   -1  'True
            Caption         =   "公司电话:"
            Height          =   180
            Left            =   5520
            TabIndex        =   19
            Top             =   330
            Width           =   900
         End
         Begin VB.Label Label7 
            AutoSize        =   -1  'True
            Caption         =   "公司地址:"
            Height          =   180
            Left            =   300
            TabIndex        =   18
            Top             =   660
            Width           =   900
         End
         Begin VB.Label Label2 
            AutoSize        =   -1  'True
            Caption         =   "公司编号:"
            Height          =   180
            Left            =   300
            TabIndex        =   4
            Top             =   330
            Width           =   900
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            Caption         =   "公司名称:"
            Height          =   180
            Left            =   2430
            TabIndex        =   3
            Top             =   330
            Width           =   900
         End
      End
   End
End
Attribute VB_Name = "frmDept"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim blnOkFlag As Boolean

Private Sub cmbDeptNoDel_Change()
    Dim rs As New ADODB.Recordset
    txtDeptNoDel = SearchExist(Trim(cmbDeptNoDel))
    If txtDeptNoDel = "" Then
        MsgBox "此公司号不存在,请检查重输!", vbExclamation, "提示..."
        Exit Sub
    Else
        blnOkFlag = True
    End If
End Sub

Private Sub cmbDeptNoDel_Click()
    Dim rs As New ADODB.Recordset
    txtDeptNoDel = SearchExist(Trim(cmbDeptNoDel))
    If txtDeptNoDel = "" Then
        MsgBox "此公司号不存在,请检查重输!", vbExclamation, "提示..."
        Exit Sub
    Else
        blnOkFlag = True

⌨️ 快捷键说明

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