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

📄 form14.frm

📁 利用VB编写的财务系统
💻 FRM
📖 第 1 页 / 共 2 页
字号:
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   2
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=kjxt.mdb;Persist Security Info=False"
      OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=kjxt.mdb;Persist Security Info=False"
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   "pzb"
      Caption         =   "Adodc1"
      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 
      Caption         =   "借方科目"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   120
      TabIndex        =   26
      Top             =   120
      Width           =   1815
   End
   Begin VB.Label Label2 
      Caption         =   "借方金额"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   855
      Left            =   120
      TabIndex        =   25
      Top             =   1080
      Width           =   1815
   End
   Begin VB.Label Label3 
      Caption         =   "贷方科目"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   855
      Left            =   120
      TabIndex        =   24
      Top             =   2040
      Width           =   1815
   End
   Begin VB.Label Label4 
      Caption         =   "贷方金额"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   120
      TabIndex        =   23
      Top             =   3120
      Width           =   1815
   End
   Begin VB.Label Label5 
      Caption         =   "摘要"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   4200
      TabIndex        =   22
      Top             =   120
      Width           =   1455
   End
   Begin VB.Label Label6 
      Caption         =   "日期"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   4080
      TabIndex        =   21
      Top             =   1080
      Width           =   1695
   End
   Begin VB.Label Label7 
      Caption         =   "审核人"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   4080
      TabIndex        =   20
      Top             =   2280
      Width           =   1695
   End
   Begin VB.Label Label8 
      Caption         =   "凭证类型"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   3960
      TabIndex        =   19
      Top             =   3240
      Width           =   1815
   End
End
Attribute VB_Name = "Form14"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command4_Click()
Form14.Hide
MDIForm1.Show

End Sub

Private Sub Command1_Click()
If Trim(Text7) = "" Then
  Text7.Text = dqyh
End If
End Sub

Private Sub Command10_Click()
If Trim(Text7) = dqyh Then
Text7.Text = ""
Adodc1.Recordset("审核人") = ""
End If
End Sub

Private Sub Command2_Click()
Adodc1.Refresh
Command1.Enabled = True
Command2.Enabled = True
Command4.Enabled = True
Command5.Enabled = True
Command6.Enabled = True
Command7.Enabled = True
Command8.Enabled = True
Command9.Enabled = True


Adodc1.Enabled = True
End Sub

Private Sub Command3_Click()
a = Adodc1.Recordset.AbsolutePosition
Adodc1.Recordset.Find "借方科目='" + Text8 + "'"
If Not Adodc1.Recordset.EOF Then
Label1.Caption = Adodc1.Recordset("借方科目")
Else
MsgBox "未发现纪录", vbCritical, "提示窗"
Adodc1.Recordset.Move a - 1, 1
End If
End Sub


Private Sub Command5_Click()
Adodc1.Recordset.AddNew
Command1.Enabled = False
Command6.Enabled = False
Command7.Enabled = False
Command8.Enabled = False
Command9.Enabled = False

Adodc1.Enabled = False
'Combo1.ListIndex = 1
Text1.SetFocus
End Sub

Private Sub Command6_Click()
Adodc1.Recordset.MoveFirst

End Sub

Private Sub Command7_Click()
Adodc1.Recordset.MovePrevious
If Adodc1.Recordset.BOF Then
MsgBox "已经是第一条纪录!", vbCritical, "提示窗!"
Adodc1.Recordset.MoveFirst
End If

End Sub

Private Sub Command8_Click()
Adodc1.Recordset.MoveNext
If Adodc1.Recordset.EOF Then
MsgBox "已经是末纪录!", vbCritical, " 提示窗!"
Adodc1.Recordset.MoveLast
End If


End Sub

Private Sub Command9_Click()
Adodc1.Recordset.MoveLast
End Sub

⌨️ 快捷键说明

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