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

📄 form3.frm

📁 ACCESS数据库开发例子
💻 FRM
📖 第 1 页 / 共 3 页
字号:
            Left            =   720
            TabIndex        =   35
            Top             =   2880
            Width           =   975
         End
         Begin VB.TextBox Text3 
            Height          =   375
            IMEMode         =   3  'DISABLE
            Left            =   1440
            PasswordChar    =   "*"
            TabIndex        =   34
            Text            =   "Text3"
            Top             =   1440
            Width           =   1935
         End
         Begin VB.TextBox Text2 
            Height          =   375
            IMEMode         =   3  'DISABLE
            Left            =   1440
            PasswordChar    =   "*"
            TabIndex        =   32
            Text            =   "Text2"
            Top             =   900
            Width           =   1935
         End
         Begin VB.TextBox Text1 
            Height          =   375
            Left            =   1440
            TabIndex        =   30
            Text            =   "Text1"
            Top             =   360
            Width           =   1935
         End
         Begin VB.Label Label8 
            AutoSize        =   -1  'True
            Caption         =   "确认密码:"
            Height          =   180
            Left            =   420
            TabIndex        =   33
            Top             =   1560
            Width           =   900
         End
         Begin VB.Label Label7 
            AutoSize        =   -1  'True
            Caption         =   "密码:"
            Height          =   180
            Left            =   780
            TabIndex        =   31
            Top             =   1020
            Width           =   540
         End
         Begin VB.Label Label6 
            AutoSize        =   -1  'True
            Caption         =   "用户名:"
            Height          =   180
            Left            =   600
            TabIndex        =   29
            Top             =   480
            Width           =   720
         End
      End
      Begin VB.Frame Frame1 
         Caption         =   "现有用户"
         Height          =   5535
         Left            =   240
         TabIndex        =   26
         Top             =   600
         Width           =   4095
         Begin MSFlexGridLib.MSFlexGrid MSFlexGrid2 
            Height          =   4935
            Left            =   120
            TabIndex        =   27
            Top             =   360
            Width           =   3855
            _ExtentX        =   6800
            _ExtentY        =   8705
            _Version        =   393216
            BackColor       =   16777088
            BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
               Name            =   "宋体"
               Size            =   12
               Charset         =   134
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
         End
      End
      Begin VB.CommandButton Command8 
         Caption         =   "取消"
         Height          =   375
         Left            =   -67080
         TabIndex        =   25
         Top             =   5880
         Width           =   855
      End
      Begin VB.CommandButton Command7 
         Caption         =   "删除"
         Height          =   375
         Left            =   -68136
         TabIndex        =   24
         Top             =   5880
         Width           =   855
      End
      Begin VB.CommandButton Command6 
         Caption         =   "尾记录"
         Height          =   375
         Left            =   -69192
         TabIndex        =   23
         Top             =   5880
         Width           =   855
      End
      Begin VB.CommandButton Command5 
         Caption         =   "下一条"
         Height          =   375
         Left            =   -70248
         TabIndex        =   22
         Top             =   5880
         Width           =   855
      End
      Begin VB.CommandButton Command4 
         Caption         =   "上一条"
         Height          =   375
         Left            =   -71304
         TabIndex        =   21
         Top             =   5880
         Width           =   855
      End
      Begin VB.CommandButton Command3 
         Caption         =   "首记录"
         Height          =   375
         Left            =   -72360
         TabIndex        =   20
         Top             =   5880
         Width           =   855
      End
      Begin VB.CommandButton Command1 
         Caption         =   "查询"
         Default         =   -1  'True
         Height          =   375
         Left            =   -68520
         TabIndex        =   9
         Top             =   1815
         Width           =   855
      End
      Begin VB.CommandButton Command2 
         Caption         =   "取消"
         Height          =   375
         Left            =   -66960
         TabIndex        =   8
         Top             =   1815
         Width           =   735
      End
      Begin VB.ComboBox Combo1 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   330
         Index           =   0
         Left            =   -73680
         TabIndex        =   6
         Text            =   "Combo1"
         Top             =   600
         Width           =   1575
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Index           =   1
         Left            =   -73680
         TabIndex        =   5
         Text            =   "Combo1"
         Top             =   1215
         Width           =   1575
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Index           =   2
         Left            =   -70680
         TabIndex        =   4
         Text            =   "Combo1"
         Top             =   615
         Width           =   1575
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Index           =   3
         Left            =   -70680
         TabIndex        =   3
         Text            =   "Combo1"
         Top             =   1215
         Width           =   1575
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Index           =   4
         Left            =   -67800
         TabIndex        =   2
         Text            =   "Combo1"
         Top             =   615
         Width           =   1575
      End
      Begin VB.ComboBox Combo1 
         Height          =   300
         Index           =   5
         Left            =   -67800
         TabIndex        =   1
         Text            =   "Combo1"
         Top             =   1215
         Width           =   1575
      End
      Begin MSComCtl2.DTPicker DTPicker2 
         Height          =   300
         Left            =   -70680
         TabIndex        =   7
         Top             =   1785
         Width           =   1575
         _ExtentX        =   2778
         _ExtentY        =   529
         _Version        =   393216
         Format          =   25362433
         CurrentDate     =   39254
      End
      Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1 
         Height          =   3720
         Left            =   -74760
         TabIndex        =   10
         Top             =   2400
         Width           =   8535
         _ExtentX        =   15055
         _ExtentY        =   6562
         _Version        =   393216
         BackColor       =   16777088
         AllowUserResizing=   3
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin MSComCtl2.DTPicker DTPicker1 
         Height          =   330
         Left            =   -73680
         TabIndex        =   11
         Top             =   1770
         Width           =   1575
         _ExtentX        =   2778
         _ExtentY        =   582
         _Version        =   393216
         Format          =   25362433
         CurrentDate     =   39254
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "机型:"
         Height          =   180
         Index           =   0
         Left            =   -74400
         TabIndex        =   19
         Top             =   675
         Width           =   540
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "故障代码:"
         Height          =   180
         Index           =   3
         Left            =   -74760
         TabIndex        =   18
         Top             =   1275
         Width           =   900
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "故障描述:"
         Height          =   180
         Index           =   2
         Left            =   -71760
         TabIndex        =   17
         Top             =   675
         Width           =   900
      End
      Begin VB.Label Label5 
         AutoSize        =   -1  'True
         Caption         =   "维修日期:"
         Height          =   180
         Left            =   -74760
         TabIndex        =   16
         Top             =   1845
         Width           =   900
      End
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         Caption         =   "维修人:"
         Height          =   180
         Left            =   -68640
         TabIndex        =   15
         Top             =   1275
         Width           =   720
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         Caption         =   "到之间:"
         Height          =   180
         Left            =   -71580
         TabIndex        =   14
         Top             =   1845
         Width           =   720
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         Caption         =   "维修方法:"
         Height          =   180
         Index           =   0
         Left            =   -71760
         TabIndex        =   13
         Top             =   1275
         Width           =   900
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         Caption         =   "故障原因:"
         Height          =   180
         Index           =   1
         Left            =   -68820
         TabIndex        =   12
         Top             =   675
         Width           =   900
      End
   End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Sub mxf()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
j = 1
MSFlexGrid2.Rows = 1
MSFlexGrid2.Cols = 3
MSFlexGrid2.Row = 0
MSFlexGrid2.Col = 0
MSFlexGrid2.Text = "用户名"
MSFlexGrid2.Col = 1
MSFlexGrid2.Text = "密码"
MSFlexGrid2.Col = 2
MSFlexGrid2.Text = "用户权限"
Call gy_load
    rs_c.Open "select * from 用户表", cn_c, adOpenKeyset, adLockOptimistic
       If Not rs_c.EOF Then
    While Not rs_c.EOF
            MSFlexGrid2.AddItem Empty
            MSFlexGrid2.Row = j
    For i = 0 To rs_c.Fields.Count - 1
        If rs_c(i).Value = Null Then
           MSFlexGrid2.Text = Null
        End If
        MSFlexGrid2.Col = i

⌨️ 快捷键说明

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