📄
字号:
VERSION 5.00
Object = "{D76D7128-4A96-11D3-BD95-D296DC2DD072}#1.0#0"; "VSOCX7.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form XJ_FrmXjllsjtz
BackColor = &H00C0C0C0&
BorderStyle = 1 'Fixed Single
Caption = "现金流量_数据调整"
ClientHeight = 1620
ClientLeft = 2970
ClientTop = 300
ClientWidth = 8910
Icon = "现金流量_数据调整.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form4"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1620
ScaleWidth = 8910
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton QdCommand
Caption = "确定(&O)"
Height = 300
Left = 6540
TabIndex = 1
Top = 1200
Width = 1120
End
Begin VB.CommandButton QxCommand
Caption = "取消(&C)"
Height = 300
Left = 7710
TabIndex = 2
Top = 1200
Width = 1120
End
Begin MSComctlLib.ImageList ImageList1
Left = 5100
Top = 840
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 25
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":1042
Key = "sz"
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":13DC
Key = "dy"
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":1776
Key = "yl"
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":1B10
Key = "xg"
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":1EAA
Key = "zh"
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":2244
Key = "sh"
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":25DE
Key = "bc"
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":2978
Key = "fq"
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":2D12
Key = "bz"
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":30AC
Key = "tc"
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":3446
Key = "bcgs"
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":37E0
Key = "mrlk"
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":3B7A
Key = "xsxm"
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":3F14
Key = "first"
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":42AE
Key = "prev"
EndProperty
BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":4648
Key = "next"
EndProperty
BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":49E2
Key = "last"
EndProperty
BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":4D7C
Key = "xx"
EndProperty
BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":5116
Key = "define"
EndProperty
BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":54B0
Key = "exec"
EndProperty
BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":584A
Key = "xz"
EndProperty
BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":5BE4
Key = "sc"
EndProperty
BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":5F7E
Key = "sx"
EndProperty
BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":6318
Key = "cx"
EndProperty
BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "现金流量_数据调整.frx":66B2
Key = "zd"
EndProperty
EndProperty
End
Begin VB.TextBox Ydtext
BackColor = &H00C0FFFF&
BorderStyle = 0 'None
Height = 330
Left = 5070
MultiLine = -1 'True
TabIndex = 3
Top = 390
Visible = 0 'False
Width = 1185
End
Begin VB.ComboBox YdCombo
Height = 300
Left = 3030
Style = 2 'Dropdown List
TabIndex = 5
Top = 390
Visible = 0 'False
Width = 1155
End
Begin VB.Timer Timer1
Interval = 1
Left = 3360
Top = 870
End
Begin VB.CommandButton Ydcommand
Height = 300
Left = 4350
Picture = "现金流量_数据调整.frx":6A4C
Style = 1 'Graphical
TabIndex = 4
Top = 930
Visible = 0 'False
Width = 300
End
Begin VSFlex8Ctl.VSFlexGrid WglrGrid
Height = 1575
Left = 30
TabIndex = 0
Top = 30
Width = 6345
_ExtentX = 11192
_ExtentY = 2778
Appearance = 1
BorderStyle = 1
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
MousePointer = 0
BackColor = 16777215
ForeColor = -2147483640
BackColorFixed = 12632256
ForeColorFixed = -2147483630
BackColorSel = -2147483635
ForeColorSel = -2147483634
BackColorBkg = -2147483636
BackColorAlternate= 16777215
GridColor = -2147483633
GridColorFixed = -2147483632
TreeColor = -2147483632
FloodColor = 192
SheetBorder = -2147483642
FocusRect = 1
HighLight = 1
AllowSelection = -1 'True
AllowBigSelection= -1 'True
AllowUserResizing= 0
SelectionMode = 0
GridLines = 1
GridLinesFixed = 2
GridLineWidth = 1
Rows = 50
Cols = 10
FixedRows = 1
FixedCols = 1
RowHeightMin = 0
RowHeightMax = 0
ColWidthMin = 0
ColWidthMax = 0
ExtendLastCol = 0 'False
FormatString = ""
ScrollTrack = 0 'False
ScrollBars = 3
ScrollTips = 0 'False
MergeCells = 0
MergeCompare = 0
AutoResize = -1 'True
AutoSizeMode = 0
AutoSearch = 0
MultiTotals = -1 'True
SubtotalPosition= 1
OutlineBar = 0
OutlineCol = 0
Ellipsis = 0
ExplorerBar = 0
PicturesOver = 0 'False
FillStyle = 0
RightToLeft = 0 'False
PictureType = 0
TabBehavior = 0
OwnerDraw = 0
Editable = 0 'False
ShowComboButton = -1 'True
WordWrap = 0 'False
TextStyle = 0
TextStyleFixed = 0
OleDragMode = 0
OleDropMode = 0
DataMode = 0
VirtualData = -1 'True
End
Begin VB.Label Lab_Fpje
BackStyle = 0 'Transparent
ForeColor = &H00C00000&
Height = 255
Left = 7680
TabIndex = 10
Top = 540
Width = 1245
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "分配金额合计:"
Height = 225
Index = 1
Left = 6480
TabIndex = 9
Top = 540
Width = 1215
End
Begin VB.Label Lab_Pzjehj
BackStyle = 0 'Transparent
ForeColor = &H00C00000&
Height = 225
Left = 7680
TabIndex = 8
Top = 150
Width = 1095
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "凭证金额合计:"
Height = 225
Index = 0
Left = 6480
TabIndex = 7
Top = 150
Width = 1215
End
Begin VB.Label Lab_OperStatus
BackColor = &H000080FF&
Caption = "1"
Height = 345
Left = 3750
TabIndex = 6
Top = 990
Visible = 0 'False
Width = 345
End
End
Attribute VB_Name = "XJ_FrmXjllsjtz"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'**************************************************************************************
'* 模 块 名 称 :现金流量_数据调整
'* 功 能 描 述 :
'* 程序员姓名 :张建忠
'* 最后修改人 :张建忠
'* 最后修改时间:2001/12/03
'* 备 注:程序中所有依实际情况自定义部分均用[>> <<]括起
'*
'* 1.每次调入外部功能窗体,均要加锁ChangeLock=True,窗体关闭后解锁ChangeLock=false
'*
'* 2.网格列存储内容注解
'*
'* 0-行有效标识 1-现金流量项目编码ID
'*
'* 3.Lab_OperStatus 用此标签来标识单据录入状态(默认值为1) 1-浏览 2-修改
'***************************************************************************************
'以下为自定义变量
Dim Lng_VouchId As Long '分配现金流量凭证ID
Dim Int_Year As Integer '凭证所属年度
Dim Int_Period As Integer '凭证所属会计期间
'以下为固定使用变量(网格)
Dim Cxnrrec As New ADODB.Recordset '显示查询内容动态集
Dim Dyymctbl As New DY_Dyymsz '打印页面窗体变量
Dim GridCode As String '显示网格网格代码
Dim GridInf() As Variant '整个网格设置信息
Dim ReportTitle As String '报表主标题
Dim Tsxx As String '系统提示信息
Dim Pmbcsjhs As Long '屏幕网格保持数据行数(大于等于1)
Dim Fzxwghs As Integer '辅助项网格行数(包括合计行)
Dim Sfxshjwg As Boolean '是否显示合计网格
Dim Qslz As Long '网格隐藏(非操作显示)列数
Dim Sjhgd As Double '网格数据行高度
Dim GridBoolean() As Boolean '网格列信息(布尔型)
Dim GridStr() As String '网格列信息(字符型)
Dim GridInt() As Integer '网格列信息(整型)
Dim Sfblbzkd As Boolean '是否保留帮助宽度(字段提供帮助时,是否为按钮保留空间)
Dim Dqlrwgh As Long '当前录入数据网格行
Dim Dqlrwgl As Long '当前录入数据网格列
Dim Dqlkwgh As Long '刚刚离开网格行(不一定为录入行)
Dim Dqlkwgl As Long '刚刚离开网格列
Dim Dqtoprow As Long '当前录入状态时最上端可视行
Dim Dqleftcol As Long '当前录入状态时最左端可视列
Dim Zdlrqnr As String '字段录入修改前内容(用来判断内容是否修改)
Dim Wbkbhlock As Boolean '文本框改变值锁
Dim changelock As Boolean '网格行列改变控制锁(用来区别用户改变.程序改变)
Dim Gdtlock As Boolean '滚动条滚动控制(用来区别用户改变.程序改变)
Dim Yxxpdlock As Boolean '字段有效性判断锁(内容不修改不需进行字段有效性判断)
Dim Hyxxpdlock As Boolean '行有效性判断锁(字段内容不修改不需进行行有效性判断)
Dim Valilock As Boolean '文本框失去焦点是否进行有效性控制(TRUE 为锁定*限用网格录入)
Dim Shsfts As Boolean '删除记录行是否提示
Dim Szzls As Integer '网格信息数组最大下标值(网格列数-1)
Private Sub Form_KeyPress(KeyAscii As Integer) '控制焦点转移和限制录入字符"'"
Select Case KeyAscii
Case 39 '屏蔽字符"'"
KeyAscii = 0
End Select
End Sub
Private Sub Form_Load() '窗 体 装 入
Dim RecTemp As New ADODB.Recordset
'得到分配现金流量凭证ID并显示凭证合计金额
Lng_VouchId = Val(Xtcdcs)
SqlStr = "SELECT Jfjehj=isnull(sum(Jfje),0) From Cwzz_AccVouchSub Where VouchID=" & Lng_VouchId
Set RecTemp = Cw_DataEnvi.DataConnect.Execute(SqlStr)
If Not RecTemp.EOF Then
Lab_Pzjehj.Caption = RecTemp.Fields("Jfjehj")
End If
SqlStr = "SELECT Year,Period From Cwzz_AccVouchMain Where VouchID=" & Lng_VouchId
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -