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

📄 form4.frm

📁 用与大型超市的管理与运行;具有提高效率节省费用的优点
💻 FRM
字号:
VERSION 5.00
Begin VB.Form storefind 
   BackColor       =   &H00E0E0E0&
   Caption         =   "查询"
   ClientHeight    =   7140
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   9675
   Icon            =   "Form4.frx":0000
   LinkTopic       =   "Form4"
   MDIChild        =   -1  'True
   Picture         =   "Form4.frx":08CA
   ScaleHeight     =   7140
   ScaleWidth      =   9675
   WindowState     =   2  'Maximized
   Begin VB.TextBox Text2 
      Height          =   495
      Left            =   7920
      TabIndex        =   20
      Top             =   840
      Width           =   1575
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   1080
      TabIndex        =   18
      Top             =   720
      Width           =   1695
   End
   Begin VB.Data Data1 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   "C:\Documents and Settings\Administrator\桌面\11050302超市管理系统(033069,033068, 033067)\源代码\supermarket1.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   375
      Left            =   1920
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "InOutinfo"
      Top             =   5040
      Visible         =   0   'False
      Width           =   2415
   End
   Begin VB.TextBox Text10 
      DataField       =   "备注"
      DataSource      =   "Data1"
      Enabled         =   0   'False
      Height          =   375
      Left            =   8280
      TabIndex        =   17
      Top             =   3840
      Width           =   1575
   End
   Begin VB.TextBox Text9 
      DataField       =   "进出库"
      DataSource      =   "Data1"
      Enabled         =   0   'False
      Height          =   375
      Left            =   1560
      TabIndex        =   15
      Top             =   3720
      Width           =   1455
   End
   Begin VB.TextBox Text8 
      DataField       =   "经手人"
      DataSource      =   "Data1"
      Enabled         =   0   'False
      Height          =   375
      Left            =   8280
      TabIndex        =   13
      Top             =   3240
      Width           =   1575
   End
   Begin VB.TextBox Text7 
      DataField       =   "数量"
      DataSource      =   "Data1"
      Enabled         =   0   'False
      Height          =   375
      Left            =   1560
      TabIndex        =   12
      Top             =   3120
      Width           =   1455
   End
   Begin VB.TextBox Text6 
      DataField       =   "日期"
      DataSource      =   "Data1"
      Enabled         =   0   'False
      Height          =   375
      Left            =   8280
      TabIndex        =   9
      Top             =   2520
      Width           =   1455
   End
   Begin VB.TextBox Text5 
      DataField       =   "发货地"
      DataSource      =   "Data1"
      Enabled         =   0   'False
      Height          =   375
      Left            =   1560
      TabIndex        =   7
      Top             =   2520
      Width           =   1455
   End
   Begin VB.TextBox Text4 
      DataField       =   "货单号"
      DataSource      =   "Data1"
      Enabled         =   0   'False
      Height          =   375
      Left            =   8280
      TabIndex        =   5
      Top             =   1920
      Width           =   1455
   End
   Begin VB.TextBox Text3 
      DataField       =   "编号"
      DataSource      =   "Data1"
      Enabled         =   0   'False
      Height          =   375
      Left            =   1560
      TabIndex        =   3
      Top             =   1920
      Width           =   1455
   End
   Begin VB.CommandButton Command2 
      Caption         =   "按日期查询"
      Height          =   375
      Left            =   9960
      TabIndex        =   1
      Top             =   840
      Width           =   1815
   End
   Begin VB.CommandButton Command1 
      Caption         =   "按货单号查询"
      Height          =   375
      Left            =   3120
      TabIndex        =   0
      Top             =   720
      Width           =   1695
   End
   Begin VB.Label Label3 
      BackStyle       =   0  'Transparent
      Caption         =   "输入日期"
      Height          =   495
      Left            =   6600
      TabIndex        =   21
      Top             =   840
      Width           =   1215
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "输入货单号"
      Height          =   495
      Left            =   120
      TabIndex        =   19
      Top             =   720
      Width           =   975
   End
   Begin VB.Label Label11 
      BackStyle       =   0  'Transparent
      Caption         =   "备注"
      Height          =   375
      Left            =   7080
      TabIndex        =   16
      Top             =   3960
      Width           =   975
   End
   Begin VB.Label Label10 
      BackStyle       =   0  'Transparent
      Caption         =   "进出库"
      Height          =   375
      Left            =   480
      TabIndex        =   14
      Top             =   3720
      Width           =   855
   End
   Begin VB.Label Label9 
      BackStyle       =   0  'Transparent
      Caption         =   "经手人"
      Height          =   375
      Left            =   7080
      TabIndex        =   11
      Top             =   3240
      Width           =   975
   End
   Begin VB.Label Label7 
      BackStyle       =   0  'Transparent
      Caption         =   "数量"
      Height          =   375
      Left            =   480
      TabIndex        =   10
      Top             =   3120
      Width           =   855
   End
   Begin VB.Label Label6 
      BackStyle       =   0  'Transparent
      Caption         =   "日期"
      Height          =   375
      Left            =   7080
      TabIndex        =   8
      Top             =   2520
      Width           =   855
   End
   Begin VB.Label Label5 
      BackStyle       =   0  'Transparent
      Caption         =   "发货地"
      Height          =   375
      Left            =   480
      TabIndex        =   6
      Top             =   2520
      Width           =   855
   End
   Begin VB.Label Label4 
      BackStyle       =   0  'Transparent
      Caption         =   "货单号"
      Height          =   375
      Left            =   7080
      TabIndex        =   4
      Top             =   1920
      Width           =   855
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "编号"
      Height          =   375
      Left            =   480
      TabIndex        =   2
      Top             =   1920
      Width           =   855
   End
End
Attribute VB_Name = "storefind"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Frame1_DragDrop(Source As Control, X As Single, Y As Single)

End Sub

Private Sub Command3_Click()

End Sub

Private Sub Command1_Click()
Dim m As String
'm = InputBox$("请输入货单号", "查找窗")
m = Trim(Text1.Text)
Data1.RecordSource = "select * from inoutinfo where 货单号= '" & m & "'"
Data1.Refresh
If Data1.Recordset.EOF Then
MsgBox "无此货单号!"
Data1.RecordSource = "inoutinfo"
Data1.Refresh
End If
End Sub

Private Sub Command2_Click()
Dim m As String
'm = InputBox$("请输入日期", "查找窗")
m = Trim(Text2.Text)
Data1.RecordSource = "select * from inoutinfo where 日期= '" & m & "'"
Data1.Refresh
If Data1.Recordset.EOF Then
MsgBox "此日无记录!"
Data1.RecordSource = "inoutinfo"
Data1.Refresh
End If
End Sub

⌨️ 快捷键说明

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