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

📄 yy_khbj.frm

📁 基于SQL2000的企业管理MRPII,包含进销存,财务,报关等组件,VB6开发,带文档说明.
💻 FRM
📖 第 1 页 / 共 3 页
字号:
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Index           =   2
         Left            =   3390
         TabIndex        =   25
         Top             =   255
         Width           =   1095
      End
      Begin VB.Label Label1 
         Caption         =   "传    真:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Index           =   1
         Left            =   60
         TabIndex        =   24
         Top             =   685
         Width           =   1575
      End
      Begin VB.Label Label1 
         Caption         =   "报价单号:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   270
         Index           =   0
         Left            =   60
         TabIndex        =   23
         Top             =   255
         Width           =   1155
      End
   End
   Begin VB.Frame Frame2 
      Height          =   885
      Left            =   2895
      TabIndex        =   10
      Top             =   6720
      Width           =   9105
      Begin VB.CommandButton CmD_SH 
         Caption         =   "审核"
         Height          =   675
         Left            =   3150
         Picture         =   "Yy_khbj.frx":12E5E
         Style           =   1  'Graphical
         TabIndex        =   38
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton CmD_FinD 
         Caption         =   "查询"
         Height          =   675
         Left            =   4455
         Picture         =   "Yy_khbj.frx":12F60
         Style           =   1  'Graphical
         TabIndex        =   34
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton Cmdadd 
         Caption         =   "新增"
         Height          =   675
         Left            =   5115
         Picture         =   "Yy_khbj.frx":13532
         Style           =   1  'Graphical
         TabIndex        =   21
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton Cmdprint 
         Caption         =   "打印"
         Height          =   675
         Left            =   3810
         Picture         =   "Yy_khbj.frx":13B54
         Style           =   1  'Graphical
         TabIndex        =   20
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton cmdmd 
         Caption         =   "后端"
         Height          =   675
         Left            =   2040
         Picture         =   "Yy_khbj.frx":14126
         Style           =   1  'Graphical
         TabIndex        =   19
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton cmdnext 
         Caption         =   "向后"
         Height          =   675
         Left            =   1380
         Picture         =   "Yy_khbj.frx":146F8
         Style           =   1  'Graphical
         TabIndex        =   18
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton cmdxq 
         Caption         =   "向前"
         Height          =   675
         Left            =   720
         Picture         =   "Yy_khbj.frx":14CCA
         Style           =   1  'Graphical
         TabIndex        =   17
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton cmdqd 
         Caption         =   "前端"
         Height          =   675
         Left            =   60
         Picture         =   "Yy_khbj.frx":1529C
         Style           =   1  'Graphical
         TabIndex        =   16
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton CmdOK 
         Caption         =   "确认"
         Enabled         =   0   'False
         Height          =   675
         Left            =   7080
         Picture         =   "Yy_khbj.frx":1586E
         Style           =   1  'Graphical
         TabIndex        =   15
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton Cmddelete 
         Caption         =   "删除"
         Height          =   675
         Left            =   5775
         Picture         =   "Yy_khbj.frx":15960
         Style           =   1  'Graphical
         TabIndex        =   14
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton Cmdedit 
         Caption         =   "编辑"
         Height          =   675
         Left            =   6435
         Picture         =   "Yy_khbj.frx":15F32
         Style           =   1  'Graphical
         TabIndex        =   13
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton Cmdcancel 
         Caption         =   "取消"
         Enabled         =   0   'False
         Height          =   675
         Left            =   7740
         Picture         =   "Yy_khbj.frx":16504
         Style           =   1  'Graphical
         TabIndex        =   12
         Top             =   150
         Width           =   645
      End
      Begin VB.CommandButton Cmdreturn 
         Caption         =   "返回"
         Height          =   675
         Left            =   8400
         Picture         =   "Yy_khbj.frx":16AD6
         Style           =   1  'Graphical
         TabIndex        =   11
         Top             =   150
         Width           =   645
      End
   End
   Begin MSAdodcLib.Adodc Adoprimaryrs 
      Height          =   330
      Left            =   4710
      Top             =   3720
      Width           =   3495
      _ExtentX        =   6165
      _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         =   "Adoprimaryrs"
      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 MSAdodcLib.Adodc Adodc_body_general 
      Height          =   375
      Left            =   4710
      Top             =   3000
      Visible         =   0   'False
      Width           =   3855
      _ExtentX        =   6800
      _ExtentY        =   661
      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         =   "Adodc_body_general"
      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 MSAdodcLib.Adodc Ado_CPXX 
      Height          =   615
      Left            =   480
      Top             =   1680
      Width           =   1575
      _ExtentX        =   2778
      _ExtentY        =   1085
      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         =   "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
End
Attribute VB_Name = "yy_khbj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim DdBh_Ado As Recordset
Dim khdk As Adodb.Recordset
Dim Tjbz As Boolean
Dim Cp_Cx As Recordset
Dim Combo6_Data As Recordset
'*******************************************************
'*            曹汉华   2002.9.11 编写                 *
'*******************************************************


Private Sub CMd_Find_Click()
On Error Resume Next
Set CX_FrM_SjY = yy_khbj.AdoprimaryRs
CX_SJy = "select * from yy_khbjt where not khbh is null  "
With SEC_Dialog
  .Combo1(0).Clear
  .Combo1(1).Clear
  .Combo1(0).AddItem ("khbh(客户编号)")
  .Combo1(1).AddItem ("khbh(客户编号)")
  .Combo1(0).AddItem ("khmc(客户名称)")
  .Combo1(1).AddItem ("khmc(客户名称)")
  .Combo1(0).AddItem ("bjdbh(报价单号)")
  .Combo1(1).AddItem ("bjdbh(报价单号)")
End With
Load SEC_Dialog
SEC_Dialog.Show 1
End Sub

Private Sub CmD_SH_Click()
 Dim Sh_Dh As String
 Sh_Dh = Text1(0).Text
 DB.Execute "update yy_khbjt set sh = '已审' where bjdbh='" & Text1(0).Text & "'"
 AdoprimaryRs.Recordset.Requery
 AdoprimaryRs.Recordset.Find ("bjdbh='" & Sh_Dh & "'")
End Sub

Private Sub cmdnext_Click() '向后

  On Error GoTo GoNextError
  If Not AdoprimaryRs.Recordset.EOF Then AdoprimaryRs.Recordset.MoveNext
  If AdoprimaryRs.Recordset.EOF And AdoprimaryRs.Recordset.RecordCount > 0 Then
    Beep
    AdoprimaryRs.Recordset.MoveLast
  End If
  
  Exit Sub
GoNextError:
  MsgBox Err.Description

End Sub

Private Sub CmdPrint_Click()
yy_khbj_rpt.DataControl1.ConnectionString = Conn_Str
yy_khbj_rpt.DataControl1.Source = "select yy_khbj.*,yy_khbjt.* from yy_khbj inner join yy_khbjt on yy_khbj.bjdbh=yy_khbjt.bjdbh where yy_khbj.bjdbh='" & Text1(0).Text & "' order by cpbh"
yy_khbj_rpt.Show VBRUN.FormShowConstants.vbModal
End Sub
Private Sub Cmdqd_Click() '首端
  If AdoprimaryRs.Recordset.RecordCount > 0 Then
  If AdoprimaryRs.BOFAction = False Then
  AdoprimaryRs.Recordset.MoveFirst
  Else
  AdoprimaryRs.Recordset.MoveNext
  End If
  Else
  Exit Sub
  End If
  End Sub
Private Sub Cmdreturn_Click()
Unload Me
End Sub

Private Sub cmdxq_Click() '向前
  On Error GoTo GoPrevError
  If Not AdoprimaryRs.Recordset.BOF Then AdoprimaryRs.Recordset.MovePrevious
  If AdoprimaryRs.Recordset.BOF And AdoprimaryRs.Recordset.RecordCount > 0 Then
    Beep
    AdoprimaryRs.Recordset.MoveFirst
  End If
  
  Exit Sub
GoPrevError:
  MsgBox Err.Description
End Sub

Private Sub cmdmd_Click() '末端
 If AdoprimaryRs.Recordset.RecordCount > 0 Then
 If AdoprimaryRs.Recordset.EOF = False Then
    AdoprimaryRs.Recordset.MoveLast
    Else
    AdoprimaryRs.Recordset.MovePrevious
 End If
 Else
 Exit Sub
 End If
End Sub

⌨️ 快捷键说明

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