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

📄 frmeditclient.frm

📁 此为我2001年为东莞建发楦头开发的企业管理软件他们使用至今,望斑竹指教! 其他会员最好不要随意下载,需经斑竹同意或我本人同意,谢谢!
💻 FRM
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "Mscomct2.ocx"
Begin VB.Form frmeditclient 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "确定处理客户资料日期"
   ClientHeight    =   1440
   ClientLeft      =   3540
   ClientTop       =   2280
   ClientWidth     =   3180
   Icon            =   "Frmeditclient.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1440
   ScaleWidth      =   3180
   Begin VB.Frame Frame1 
      Height          =   735
      Left            =   120
      TabIndex        =   2
      Top             =   120
      Width           =   2895
      Begin VB.TextBox TxtSearch 
         Height          =   270
         Left            =   1080
         MaxLength       =   30
         TabIndex        =   3
         Top             =   840
         Visible         =   0   'False
         Width           =   2775
      End
      Begin MSComCtl2.DTPicker DTP1 
         Height          =   345
         Left            =   1080
         TabIndex        =   4
         Top             =   240
         Width           =   1575
         _ExtentX        =   2778
         _ExtentY        =   609
         _Version        =   393216
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         CalendarForeColor=   16711680
         CalendarTitleBackColor=   255
         Format          =   61472769
         CurrentDate     =   36400
      End
      Begin VB.Label lbl1 
         Caption         =   "说明:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00800000&
         Height          =   255
         Index           =   3
         Left            =   120
         TabIndex        =   6
         Top             =   840
         Visible         =   0   'False
         Width           =   855
      End
      Begin VB.Label lbl1 
         Caption         =   "处理日期:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00800000&
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   5
         Top             =   240
         Width           =   1095
      End
   End
   Begin VB.CommandButton cmdok 
      Caption         =   "确定(&F)"
      Height          =   340
      Left            =   480
      Style           =   1  'Graphical
      TabIndex        =   1
      Top             =   960
      UseMaskColor    =   -1  'True
      Width           =   1095
   End
   Begin VB.CommandButton cmdcancel 
      Caption         =   "关闭(&C)"
      Height          =   340
      Left            =   1800
      Style           =   1  'Graphical
      TabIndex        =   0
      Top             =   960
      UseMaskColor    =   -1  'True
      Width           =   1095
   End
End
Attribute VB_Name = "frmeditclient"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Dno As String

Private Sub cmdCancel_Click()
  Unload Me
End Sub

Private Sub cmdok_Click()
  db.Execute "update din set return_date=" & "'" & DTP1.value & "'" & " where dinno=" & "'" & Dno & "'"
  'db.Execute "update din set addother=" & "'" & Trim(TxtSearch.Text) & "'" & " where dinno=" & "'" & Dno & "'"
  'MsgBox "修改成功!!", vbInformation, MSG2
  
  Unload Me
End Sub

Private Sub Form_Load()
  Dno = FrmCubeClient.DatPrimaryRS.Recordset!dinno
  Me.Caption = Me.Caption & Dno
  If IsNull(FrmCubeClient.DatPrimaryRS.Recordset!return_date) = False Then
    DTP1.value = FrmCubeClient.DatPrimaryRS.Recordset!return_date
  Else
    DTP1.value = Date
  End If
  
  'If IsNull(FrmCubeClient.DatPrimaryRs.Recordset!addother) = False Then
  '   TxtSearch.Text = FrmCubeClient.DatPrimaryRs.Recordset!addother
  'End If
End Sub

Private Sub Form_Resize()
'On Error Resume Next
'Me.Top = 0
'Me.Left = 50
End Sub


⌨️ 快捷键说明

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