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

📄 frm_bapb.frm

📁 主要是实现物业管理功能!可以帮助了解该区的相关物业情况
💻 FRM
📖 第 1 页 / 共 2 页
字号:
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      MouseIcon       =   "Frm_bapb.frx":1318
      MousePointer    =   99
   End
   Begin VB.Label Label8 
      AutoSize        =   -1  'True
      BackColor       =   &H00C0FFFF&
      Caption         =   "保 安 排 班 设 定"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Left            =   2580
      TabIndex        =   14
      Top             =   150
      Width           =   2550
   End
   Begin VB.Line Line4 
      BorderWidth     =   2
      X1              =   7470
      X2              =   7470
      Y1              =   600
      Y2              =   2910
   End
   Begin VB.Line Line3 
      BorderWidth     =   2
      X1              =   240
      X2              =   7440
      Y1              =   2910
      Y2              =   2910
   End
   Begin VB.Line Line2 
      BorderWidth     =   2
      X1              =   240
      X2              =   240
      Y1              =   630
      Y2              =   2910
   End
   Begin VB.Line Line1 
      BorderWidth     =   2
      X1              =   240
      X2              =   7440
      Y1              =   630
      Y2              =   630
   End
   Begin VB.Label Label7 
      AutoSize        =   -1  'True
      Caption         =   "班    次"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   420
      TabIndex        =   12
      Top             =   2490
      Width           =   960
   End
   Begin VB.Label Label6 
      AutoSize        =   -1  'True
      Caption         =   "对讲编码"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   4020
      TabIndex        =   5
      Top             =   1920
      Width           =   960
   End
   Begin VB.Label Label5 
      AutoSize        =   -1  'True
      Caption         =   "巡逻路线"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   3960
      TabIndex        =   4
      Top             =   1320
      Width           =   960
   End
   Begin VB.Label Label4 
      AutoSize        =   -1  'True
      Caption         =   "岗    位"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   3960
      TabIndex        =   3
      Top             =   750
      Width           =   960
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      Caption         =   "员工编号"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   420
      TabIndex        =   2
      Top             =   1950
      Width           =   960
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      Caption         =   "姓    名"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   420
      TabIndex        =   1
      Top             =   1350
      Width           =   960
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "值班日期"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   240
      Left            =   420
      TabIndex        =   0
      Top             =   750
      Width           =   960
   End
   Begin VB.Label Label9 
      AutoSize        =   -1  'True
      BackColor       =   &H00000000&
      Caption         =   "保安排班设定"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   300
      Left            =   2640
      TabIndex        =   15
      Top             =   210
      Width           =   2550
   End
End
Attribute VB_Name = "Frm_bapb"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Unload(Cancel As Integer)
Frm_bainfo.GurhanButton1.SetFocus
End Sub

Private Sub GurhanButton1_Click()
If Text1 = "" Or Text2 = "" Or Text3 = "" Then
 MsgBox "各项基本信息不能为空"
 Text1.SetFocus
Else
Adodc1.Recordset.Fields(0) = Trim(Text1.Text)
Adodc1.Recordset.Fields(1) = Trim(Text2.Text)
Adodc1.Recordset.Fields(2) = Trim(Text3.Text)
Adodc1.Recordset.Fields(3) = Trim(Text4.Text)
Adodc1.Recordset.Fields(4) = Trim(Text5.Text)
Adodc1.Recordset.Fields(5) = Trim(Text6.Text)
Adodc1.Recordset.Fields(6) = Trim(Combo1.Text)
Adodc1.Recordset.Update

MsgBox "信息保存成功"
Unload Frm_bapb
End If
End Sub

Private Sub GurhanButton2_Click()
Text1.Text = " "
Text2.Text = " "
Text3.Text = " "
Text4.Text = " "
Text5.Text = " "
Text5.Text = " "
Combo1.Text = ""
Text1.SetFocus

End Sub

Private Sub GurhanButton3_Click()
Unload Me

End Sub

⌨️ 快捷键说明

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