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

📄 main_ysyf_chargefind.frm

📁 医药进销存管理系统 对医药的购买销售和库存进行系统管理
💻 FRM
📖 第 1 页 / 共 2 页
字号:
            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
      BeginProperty Column07 
         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 Column08 
         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 Column09 
         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 Column10 
         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 Column11 
         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 
         Locked          =   -1  'True
         BeginProperty Column00 
            ColumnWidth     =   1110.047
         EndProperty
         BeginProperty Column01 
            ColumnWidth     =   734.74
         EndProperty
         BeginProperty Column02 
            ColumnWidth     =   1964.976
         EndProperty
         BeginProperty Column03 
            ColumnWidth     =   494.929
         EndProperty
         BeginProperty Column04 
            ColumnWidth     =   434.835
         EndProperty
         BeginProperty Column05 
            ColumnWidth     =   494.929
         EndProperty
         BeginProperty Column06 
            ColumnWidth     =   824.882
         EndProperty
         BeginProperty Column07 
            ColumnWidth     =   810.142
         EndProperty
         BeginProperty Column08 
            ColumnWidth     =   824.882
         EndProperty
         BeginProperty Column09 
            ColumnWidth     =   840.189
         EndProperty
         BeginProperty Column10 
            ColumnWidth     =   1244.976
         EndProperty
         BeginProperty Column11 
            ColumnWidth     =   1110.047
         EndProperty
      EndProperty
   End
   Begin MSDataListLib.DataCombo DataCombo1 
      Bindings        =   "main_ysyf_chargefind.frx":0021
      Height          =   330
      Left            =   1125
      TabIndex        =   11
      Top             =   60
      Width           =   4320
      _ExtentX        =   7620
      _ExtentY        =   582
      _Version        =   393216
      ListField       =   "客户名称"
      Text            =   ""
   End
   Begin VB.Frame Frame2 
      Height          =   495
      Left            =   60
      TabIndex        =   6
      Top             =   4800
      Width           =   11640
      Begin VB.Label Labye 
         BackStyle       =   0  'Transparent
         Height          =   240
         Left            =   7875
         TabIndex        =   10
         Top             =   195
         Width           =   2235
      End
      Begin VB.Label Labsk 
         BackStyle       =   0  'Transparent
         Height          =   210
         Left            =   4305
         TabIndex        =   9
         Top             =   180
         Width           =   2340
      End
      Begin VB.Label Labqk 
         BackStyle       =   0  'Transparent
         Height          =   225
         Left            =   960
         TabIndex        =   8
         Top             =   180
         Width           =   2130
      End
      Begin VB.Label Label3 
         BackStyle       =   0  'Transparent
         Caption         =   "欠款总计:                           收款总计:                               尚欠余额:"
         Height          =   330
         Left            =   60
         TabIndex        =   7
         Top             =   210
         Width           =   9255
      End
   End
   Begin VB.CommandButton ComExit 
      Caption         =   "退出"
      Height          =   330
      Left            =   10500
      TabIndex        =   0
      Top             =   60
      Width           =   1200
   End
   Begin MSComCtl2.DTPicker DTP1 
      Height          =   285
      Left            =   6015
      TabIndex        =   2
      Top             =   90
      Width           =   1425
      _ExtentX        =   2514
      _ExtentY        =   503
      _Version        =   393216
      Format          =   47841281
      CurrentDate     =   37132
   End
   Begin MSComCtl2.DTPicker DTP2 
      Height          =   285
      Left            =   7830
      TabIndex        =   3
      Top             =   75
      Width           =   1410
      _ExtentX        =   2487
      _ExtentY        =   503
      _Version        =   393216
      Format          =   47841281
      CurrentDate     =   37132
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "日期                  到"
      Height          =   300
      Left            =   5550
      TabIndex        =   4
      Top             =   135
      Width           =   2160
   End
   Begin VB.Label Label1 
      Caption         =   "请选择客户:"
      Height          =   240
      Left            =   120
      TabIndex        =   1
      Top             =   135
      Width           =   1440
   End
End
Attribute VB_Name = "main_ysyf_chargefind"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public Sub Stat_qk_sk_ye()
 If Adodc3.Recordset.RecordCount > 0 Then
   If Adodc3.Recordset.Fields(0) <> "" Then _
      Labqk.Caption = Adodc3.Recordset.Fields(0) Else Labqk.Caption = 0
   If Adodc3.Recordset.Fields(1) <> "" Then _
      Labsk.Caption = Adodc3.Recordset.Fields(1) Else Labsk.Caption = 0
   Labye.Caption = Val(Labqk.Caption) - Val(Labsk.Caption)
 End If
End Sub
Private Sub Form_Activate()
 '初始化日期
 DTP1.Value = Date - 30
 DTP2.Value = Date
 '查询统计应收款信息
 Adodc1.RecordSource = "select * from tb_client_arrearage order by 日期,时间"
 Adodc1.Refresh
 Adodc3.RecordSource = "select sum(欠款记账)as 欠款, sum(收款合计)as 付款 from tb_client_arrearage"
 Adodc3.Refresh
 Stat_qk_sk_ye
End Sub
Private Sub DataCombo1_Change()
  DataCombo1.Text = Trim(DataCombo1.BoundText)
End Sub
Private Sub Comfind_Click()           '应收款查询
 Adodc1.RecordSource = "select * from tb_client_arrearage where 客户名称 like '" + _
    DataCombo1.BoundText + "'and 日期 between '" + Str(DTP1.Value) + _
    "' And '" + Str(DTP2.Value) + "'order by 日期,时间"
 Adodc1.Refresh
 Adodc3.RecordSource = "select sum(欠款记账)as 欠款, sum(收款合计)as 付款 from tb_client_arrearage where 客户名称 like '" + _
    DataCombo1.BoundText + "'and 日期 between '" + Str(DTP1.Value) + "' And '" + Str(DTP2.Value) + "'"
 Adodc3.Refresh
 Stat_qk_sk_ye
End Sub
Private Sub ComExit_Click()
  Unload Me
End Sub

⌨️ 快捷键说明

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