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

📄 删除进仓表.frm

📁 此系统是仓库管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form17 
   Caption         =   "Form17"
   ClientHeight    =   3735
   ClientLeft      =   60
   ClientTop       =   405
   ClientWidth     =   5460
   LinkTopic       =   "Form17"
   ScaleHeight     =   3735
   ScaleWidth      =   5460
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame1 
      Caption         =   "操作"
      Height          =   3735
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   5415
      Begin VB.CommandButton Command2 
         Caption         =   "返 回"
         Height          =   615
         Left            =   3240
         TabIndex        =   2
         Top             =   1320
         Width           =   1335
      End
      Begin VB.CommandButton Command1 
         Caption         =   "删 除"
         Height          =   615
         Left            =   720
         TabIndex        =   1
         Top             =   1320
         Width           =   1335
      End
   End
End
Attribute VB_Name = "Form17"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
  Dim strDelete As String
  Dim strNo As String
  strNo = InputBox("请输入你要删除的进仓物资号", 提示!)
  If Trim(strNo) = "" Then Exit Sub
    strDelete = "delete from 进仓表 where 进仓表.进仓物资号='" & Trim(strNo) & "' "
     mycon.BeginTrans
    mycon.Execute (strDelete)
    a = MsgBox("删除进仓表中记录会删除相关的进仓物资情况信息" & Chr(13) & "确定吗?", vbInformation, "提示!")
    If a = vbOK Then
      mycon.CommitTrans
      MsgBox "删除成功"
    Else
      mycon.RollbackTrans
      MsgBox "删除被撤销!", vbExclamation, "提示!"
  End If
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

⌨️ 快捷键说明

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