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

📄 main_ysyf_jhdxx.frm

📁 功能强大,画面精致,在XP系统中运行最佳先选择用户名:a 再输入密码:a
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form main_ysyf_jhdxx 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "进货单信息浏览"
   ClientHeight    =   6195
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   10980
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   6195
   ScaleWidth      =   10980
   StartUpPosition =   1  '所有者中心
   Begin VB.Frame Frame3 
      Caption         =   "进货单信息"
      Height          =   5040
      Left            =   45
      TabIndex        =   10
      Top             =   1110
      Width           =   10890
      Begin MSAdodcLib.Adodc Adodc1 
         Height          =   330
         Left            =   90
         Top             =   1230
         Visible         =   0   'False
         Width           =   1620
         _ExtentX        =   2858
         _ExtentY        =   582
         ConnectMode     =   0
         CursorLocation  =   3
         IsolationLevel  =   -1
         ConnectionTimeout=   15
         CommandTimeout  =   30
         CursorType      =   3
         LockType        =   3
         CommandType     =   1
         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=TLCYGLXT.mdb;Persist Security Info=False"
         OLEDBString     =   "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=TLCYGLXT.mdb;Persist Security Info=False"
         OLEDBFile       =   ""
         DataSourceName  =   ""
         OtherAttributes =   ""
         UserName        =   ""
         Password        =   ""
         RecordSource    =   "select * From 进货表 "
         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 MSDataGridLib.DataGrid DataGrid1 
         Bindings        =   "main_ysyf_jhdxx.frx":0000
         Height          =   4710
         Left            =   75
         TabIndex        =   11
         Top             =   255
         Width           =   10725
         _ExtentX        =   18918
         _ExtentY        =   8308
         _Version        =   393216
         AllowUpdate     =   0   'False
         HeadLines       =   2
         RowHeight       =   15
         FormatLocked    =   -1  'True
         BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ColumnCount     =   7
         BeginProperty Column00 
            DataField       =   "商品编号"
            Caption         =   "商品编号"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column01 
            DataField       =   "商品名称"
            Caption         =   "商品名称"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column02 
            DataField       =   "单位"
            Caption         =   "单位"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column03 
            DataField       =   "进价"
            Caption         =   "进价"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column04 
            DataField       =   "数量"
            Caption         =   "数量"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column05 
            DataField       =   "金额"
            Caption         =   "金额"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column06 
            DataField       =   "备注"
            Caption         =   "备注"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         SplitCount      =   1
         BeginProperty Split0 
            BeginProperty Column00 
               ColumnWidth     =   1379.906
            EndProperty
            BeginProperty Column01 
               ColumnWidth     =   3030.236
            EndProperty
            BeginProperty Column02 
               ColumnWidth     =   585.071
            EndProperty
            BeginProperty Column03 
               ColumnWidth     =   689.953
            EndProperty
            BeginProperty Column04 
               ColumnWidth     =   1005.165
            EndProperty
            BeginProperty Column05 
               ColumnWidth     =   1769.953
            EndProperty
            BeginProperty Column06 
               ColumnWidth     =   1904.882
            EndProperty
         EndProperty
      End
   End
   Begin VB.Frame Frame1 
      Height          =   615
      Left            =   45
      TabIndex        =   0
      Top             =   -45
      Width           =   10920
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H00FF0000&
         Height          =   195
         Index           =   3
         Left            =   9675
         TabIndex        =   6
         Top             =   285
         Width           =   1170
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H00FF0000&
         Height          =   195
         Index           =   2
         Left            =   7920
         TabIndex        =   5
         Top             =   285
         Width           =   1215
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H00FF0000&
         Height          =   195
         Index           =   1
         Left            =   5370
         TabIndex        =   4
         Top             =   285
         Width           =   1740
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H00FF0000&
         Height          =   195
         Index           =   0
         Left            =   825
         TabIndex        =   3
         Top             =   285
         Width           =   3735
      End
      Begin VB.Label Label1 
         BackStyle       =   0  'Transparent
         Caption         =   "供应商:                                          操作员:                    经手人:              仓库:"
         Height          =   270
         Left            =   135
         TabIndex        =   2
         Top             =   270
         Width           =   10350
      End
   End
   Begin VB.Frame Frame2 
      Height          =   615
      Left            =   45
      TabIndex        =   1
      Top             =   435
      Width           =   10920
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H000000FF&
         Height          =   195
         Index           =   5
         Left            =   5205
         TabIndex        =   9
         Top             =   270
         Width           =   3735
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H000000FF&
         Height          =   195
         Index           =   4
         Left            =   675
         TabIndex        =   8
         Top             =   270
         Width           =   3105
      End
      Begin VB.Label Label3 
         BackStyle       =   0  'Transparent
         Caption         =   "日期:                                            票号:"
         Height          =   345
         Left            =   165
         TabIndex        =   7
         Top             =   225
         Width           =   5400
      End
   End
End
Attribute VB_Name = "main_ysyf_jhdxx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Activate()
  '查询进货信息
  Adodc1.RecordSource = "select * from 进货表 where 进货表.票号='" + Trim(main_ysyf_yfzkgl.Adodc1.Recordset.Fields("进货票号")) + "'"
  Adodc1.Refresh
  If Adodc1.Recordset.RecordCount > 0 Then
    '给label2赋值
     Label2(0).Caption = Adodc1.Recordset.Fields("供应商")
     Label2(1).Caption = Adodc1.Recordset.Fields("操作员")
     Label2(2).Caption = Adodc1.Recordset.Fields("经手人")
     Label2(3).Caption = Adodc1.Recordset.Fields("仓库")
     Label2(4).Caption = Adodc1.Recordset.Fields("日期")
     Label2(5).Caption = Adodc1.Recordset.Fields("票号")
   Else
     MsgBox "无进货单信息!"
  End If
  Me.Caption = Me.Caption & "    " & frm_main.St1.Panels(3).text
End Sub
Private Sub Form_Unload(Cancel As Integer)
  main_ysyf_yfzkgl.Enabled = True
End Sub

⌨️ 快捷键说明

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