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

📄 frmac_idear.frm

📁 办公自动化系统--vb+access
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frmAC_idear 
   Caption         =   "意见箱"
   ClientHeight    =   3945
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   7785
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   3945
   ScaleWidth      =   7785
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame1 
      Caption         =   "意见反馈"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   3300
      Left            =   195
      TabIndex        =   0
      Top             =   330
      Width           =   7260
      Begin VB.TextBox txtMemo 
         Height          =   2085
         Left            =   1200
         MultiLine       =   -1  'True
         ScrollBars      =   2  'Vertical
         TabIndex        =   4
         Top             =   675
         Width           =   5775
      End
      Begin VB.CommandButton cmdSave 
         Caption         =   "提交"
         Height          =   300
         Left            =   4065
         TabIndex        =   3
         Top             =   2835
         Width           =   1335
      End
      Begin VB.CommandButton cmdEnd 
         Caption         =   "退出"
         Height          =   300
         Left            =   5685
         TabIndex        =   2
         Top             =   2835
         Width           =   1335
      End
      Begin VB.TextBox txtSubject 
         Height          =   285
         Left            =   1200
         TabIndex        =   1
         Top             =   360
         Width           =   5790
      End
      Begin MSAdodcLib.Adodc adoIdear 
         Height          =   330
         Left            =   1170
         Top             =   2805
         Visible         =   0   'False
         Width           =   2055
         _ExtentX        =   3625
         _ExtentY        =   582
         ConnectMode     =   0
         CursorLocation  =   3
         IsolationLevel  =   -1
         ConnectionTimeout=   15
         CommandTimeout  =   30
         CursorType      =   3
         LockType        =   3
         CommandType     =   8
         CursorOptions   =   0
         CacheSize       =   50
         MaxRecords      =   0
         BOFAction       =   0
         EOFAction       =   0
         ConnectStringType=   1
         Appearance      =   1
         BackColor       =   -2147483643
         ForeColor       =   -2147483640
         Orientation     =   0
         Enabled         =   -1
         Connect         =   ""
         OLEDBString     =   ""
         OLEDBFile       =   ""
         DataSourceName  =   ""
         OtherAttributes =   ""
         UserName        =   ""
         Password        =   ""
         RecordSource    =   ""
         Caption         =   "adoIdear"
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         _Version        =   393216
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "意见主题:"
         Height          =   180
         Left            =   270
         TabIndex        =   6
         Top             =   405
         Width           =   900
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         Caption         =   "意见内容:"
         Height          =   180
         Left            =   285
         TabIndex        =   5
         Top             =   675
         Width           =   900
      End
   End
End
Attribute VB_Name = "frmAC_idear"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdEnd_Click()
  Unload Me
End Sub

Private Sub cmdSave_Click()
  adoIdear.Recordset.AddNew
  adoIdear.Recordset.Fields(1).Value = txtSubject.Text
  adoIdear.Recordset.Fields(2).Value = txtMemo.Text
  adoIdear.Recordset.Update
  MsgBox "意见提交成功!"
End Sub

Private Sub Form_Load()
  adoIdear.ConnectionString = PublicStr
  adoIdear.RecordSource = "select * from tbOA_idear"
  adoIdear.Refresh
End Sub

⌨️ 快捷键说明

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