📄 c_yskprint.dfm
字号:
DataField = 'D_KHBH'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = #40657#20307
Font.Style = [fsBold]
ParentFont = False
Transparent = False
WordWrap = True
FontSize = 8
end
object QRDBText4: TQRDBText
Left = 35
Top = 2
Width = 44
Height = 12
Frame.Color = clBlack
Frame.DrawTop = False
Frame.DrawBottom = False
Frame.DrawLeft = False
Frame.DrawRight = False
Size.Values = (
31.75
92.6041666666667
5.29166666666667
116.416666666667)
Alignment = taLeftJustify
AlignToBand = False
AutoSize = True
AutoStretch = False
Color = clWhite
DataSet = qryWork
DataField = 'D_KHMC'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = #40657#20307
Font.Style = [fsBold]
ParentFont = False
Transparent = False
WordWrap = True
FontSize = 8
end
end
object QRSubDetail1: TQRSubDetail
Left = 38
Top = 118
Width = 143
Height = 14
Frame.Color = clBlack
Frame.DrawTop = True
Frame.DrawBottom = True
Frame.DrawLeft = True
Frame.DrawRight = True
AlignToBottom = False
Color = clWhite
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -10
Font.Name = #23435#20307
Font.Style = []
ForceNewColumn = False
ForceNewPage = False
LinkBand = QRGroup1
ParentFont = False
Size.Values = (
37.0416666666667
378.354166666667)
Master = QuickRep1
DataSet = qryDetail
PrintBefore = False
PrintIfEmpty = True
object QRDBText2: TQRDBText
Left = 3
Top = 2
Width = 37
Height = 12
Frame.Color = clBlack
Frame.DrawTop = False
Frame.DrawBottom = False
Frame.DrawLeft = False
Frame.DrawRight = False
Size.Values = (
31.75
7.9375
5.29166666666667
97.8958333333333)
Alignment = taLeftJustify
AlignToBand = False
AutoSize = True
AutoStretch = False
Color = clWhite
DataSet = qryDetail
DataField = 'D_XMMC'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
Transparent = False
WordWrap = True
FontSize = 8
end
object QRDBText3: TQRDBText
Left = 54
Top = 2
Width = 19
Height = 12
Frame.Color = clBlack
Frame.DrawTop = False
Frame.DrawBottom = False
Frame.DrawLeft = False
Frame.DrawRight = False
Size.Values = (
31.75
142.875
5.29166666666667
50.2708333333333)
Alignment = taLeftJustify
AlignToBand = False
AutoSize = True
AutoStretch = False
Color = clWhite
DataSet = qryDetail
DataField = 'SUM'
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
Transparent = False
WordWrap = True
FontSize = 8
end
object QRShape1: TQRShape
Left = 48
Top = 0
Width = 5
Height = 15
Frame.Color = clBlack
Frame.DrawTop = False
Frame.DrawBottom = False
Frame.DrawLeft = False
Frame.DrawRight = False
Size.Values = (
39.6875
127
0
13.2291666666667)
Shape = qrsVertLine
end
end
object QRBand1: TQRBand
Left = 38
Top = 132
Width = 143
Height = 14
Frame.Color = clBlack
Frame.DrawTop = True
Frame.DrawBottom = True
Frame.DrawLeft = True
Frame.DrawRight = True
AlignToBottom = False
Color = clWhite
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -10
Font.Name = #23435#20307
Font.Style = []
ForceNewColumn = False
ForceNewPage = False
LinkBand = QRSubDetail1
ParentFont = False
Size.Values = (
37.0416666666667
378.354166666667)
BandType = rbGroupFooter
object QRLabel2: TQRLabel
Left = 3
Top = 1
Width = 23
Height = 12
Frame.Color = clBlack
Frame.DrawTop = False
Frame.DrawBottom = False
Frame.DrawLeft = False
Frame.DrawRight = False
Size.Values = (
31.75
7.9375
2.64583333333333
60.8541666666667)
Alignment = taLeftJustify
AlignToBand = False
AutoSize = True
AutoStretch = False
Caption = #21512#35745
Color = clWhite
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
Transparent = False
WordWrap = True
FontSize = 8
end
object QRExpr1: TQRExpr
Left = 54
Top = 1
Width = 109
Height = 12
Frame.Color = clBlack
Frame.DrawTop = False
Frame.DrawBottom = False
Frame.DrawLeft = False
Frame.DrawRight = False
Size.Values = (
31.75
142.875
2.64583333333333
288.395833333333)
Alignment = taLeftJustify
AlignToBand = False
AutoSize = True
AutoStretch = False
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = #23435#20307
Font.Style = []
Color = clWhite
Master = QRSubDetail1
ParentFont = False
ResetAfterPrint = True
Transparent = False
WordWrap = True
Expression = 'SUM(qryDetail.SUM)'
Mask = '#.##'
FontSize = 8
end
end
end
object qryWork: TQuery
DatabaseName = 'LfHotelUser'
SQL.Strings = (
'select d_khbh from ysk group by d_khbh')
Left = 24
Top = 24
object qryWorkD_KHBH: TStringField
FieldName = 'D_KHBH'
Size = 5
end
object qryWorkD_KHMC: TStringField
FieldKind = fkLookup
FieldName = 'D_KHMC'
LookupDataSet = HotelData.tblKHDA
LookupKeyFields = 'D_KHBH'
LookupResultField = 'D_KHMC'
KeyFields = 'D_KHBH'
Lookup = True
end
end
object dsWork: TDataSource
DataSet = qryWork
Left = 56
Top = 24
end
object qryDetail: TQuery
DatabaseName = 'LfHotelUser'
DataSource = dsWork
SQL.Strings = (
'select d_khbh,d_xmbh,sum(d_xfje) from ysk where d_khbh=:d_khbh g' +
'roup by d_khbh,d_xmbh')
Left = 88
Top = 24
ParamData = <
item
DataType = ftString
Name = 'D_KHBH'
ParamType = ptUnknown
Size = 6
end>
object qryDetailD_KHBH: TStringField
FieldName = 'D_KHBH'
Size = 5
end
object qryDetailD_XMBH: TStringField
FieldName = 'D_XMBH'
Size = 5
end
object qryDetailSUM: TFloatField
FieldName = 'SUM'
DisplayFormat = '#.##'
end
object qryDetailD_XMMC: TStringField
FieldKind = fkLookup
FieldName = 'D_XMMC'
LookupDataSet = HotelData.tblXMDM
LookupKeyFields = 'D_XMBH'
LookupResultField = 'D_XMMC'
KeyFields = 'D_XMBH'
Lookup = True
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -