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

📄 frmyh_djwhfind.frm

📁 一个用VB写的财务软件源码
💻 FRM
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frmYH_DjwhFind 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "单据定位"
   ClientHeight    =   1620
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   5205
   Icon            =   "frmYH_DjwhFind.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1620
   ScaleWidth      =   5205
   StartUpPosition =   3  '窗口缺省
   Begin VB.ComboBox cboJsfs 
      Height          =   300
      Left            =   1395
      Style           =   2  'Dropdown List
      TabIndex        =   7
      Top             =   585
      Width           =   2220
   End
   Begin VB.CommandButton cmdCancel 
      Cancel          =   -1  'True
      Caption         =   "取消"
      Height          =   285
      Left            =   3915
      TabIndex        =   5
      Top             =   720
      Width           =   915
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "确定"
      Default         =   -1  'True
      Height          =   285
      Left            =   3915
      TabIndex        =   4
      Top             =   225
      Width           =   915
   End
   Begin VB.TextBox txtDj 
      Height          =   285
      Left            =   1395
      MaxLength       =   12
      TabIndex        =   3
      Top             =   1035
      Width           =   2175
   End
   Begin MSComCtl2.DTPicker dTp 
      Height          =   285
      Left            =   1395
      TabIndex        =   2
      Top             =   180
      Width           =   2175
      _ExtentX        =   3836
      _ExtentY        =   503
      _Version        =   393216
      Format          =   59965441
      CurrentDate     =   37853
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "结算方式:"
      Height          =   180
      Left            =   405
      TabIndex        =   6
      Top             =   675
      Width           =   900
   End
   Begin VB.Label lblDJ 
      AutoSize        =   -1  'True
      Caption         =   "单据号:"
      Height          =   180
      Left            =   405
      TabIndex        =   1
      Top             =   1125
      Width           =   720
   End
   Begin VB.Label lblRq 
      AutoSize        =   -1  'True
      Caption         =   "凭证日期:"
      Height          =   180
      Left            =   405
      TabIndex        =   0
      Top             =   225
      Width           =   900
   End
End
Attribute VB_Name = "frmYH_DjwhFind"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public OK As Boolean

Private Sub cmdCancel_Click()
OK = False
Me.Hide
End Sub

Private Sub cmdOk_Click()
OK = True
Me.Hide
End Sub

Private Sub form_load()
dTp.Value = Format(glo.sOperateDate, "yyyy-mm-dd")
InitCboJsfs
End Sub


Private Sub InitCboJsfs()
Dim rSt As New Recordset
cboJsfs.Clear
rSt.Open "select cCode,cName from tZW_Jsfs" + glo.sOperateYear + " where bEnd=-1 order by cCode", glo.cnnMain, adOpenKeyset, adLockOptimistic
While rSt.EOF = False
    cboJsfs.AddItem Trim$(rSt.Fields("cCode").Value) + "=" + Trim$(rSt.Fields("cName").Value)
    rSt.MoveNext
Wend
rSt.Close
End Sub

⌨️ 快捷键说明

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