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

📄 form1.frm

📁 小区物业管理系统完整文档及代码。帮助毕业同学做好毕业设计。
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   4230
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   8070
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   4230
   ScaleWidth      =   8070
   Begin VB.TextBox Text4 
      Height          =   615
      Left            =   2520
      TabIndex        =   4
      Top             =   2040
      Width           =   1455
   End
   Begin VB.TextBox Text3 
      Height          =   495
      Left            =   600
      TabIndex        =   3
      Top             =   2160
      Width           =   1335
   End
   Begin VB.TextBox Text2 
      Height          =   615
      Left            =   2280
      TabIndex        =   2
      Top             =   240
      Width           =   1455
   End
   Begin VB.TextBox Text1 
      Height          =   615
      Left            =   600
      TabIndex        =   1
      Top             =   240
      Width           =   1455
   End
   Begin VB.CommandButton Command1 
      Caption         =   "OK"
      Height          =   495
      Left            =   840
      TabIndex        =   0
      Top             =   1440
      Width           =   975
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub Command1_Click()
Dim mrc As ADODB.Recordset
Dim txtSQL As String
Dim MsgText As String
'txtSQL = "select * from UserTable where userId= '" & txtUser.Text & "'and " & " mima= '" & txtPwd.Text & "'"
'txtSQL = "select * from UserTable where userId= '" & Text1.Text & "'and  mima= '" & Text2.Text & "'"

'txtSQL = "select * from UserTable where userId='" & Text1.Text & "' and " & "  mima= '" & Text2.Text & "'"

'txtSQL = "select * from UserTable where userId='" & Text1.Text & "' and " & " userPwd='" & Text2.Text & "'"

'txtSQL = "select * from UserTable"
'txtSQL = "select * from UserTable where userId='" & Text1.Text & "'"
'txtSQL = "select * from zh_fc"(视图OK)
Set mrc = ExecuteSQL(txtSQL, MsgText)
'mrc.MoveFirst
Text2.Text = mrc.Fields(11)
Text3.Text = mrc.Fields(12)
Text4.Text = mrc.Fields(13)
End Sub

Private Sub Form_Load()
Form1.Width = 4800
Form1.Height = 3495
End Sub

⌨️ 快捷键说明

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