L lijie3602 Unregistered / Unconfirmed GUEST, unregistred user! 2007-01-29 #1 在QUICKREP报表中,如何实现字段0值不显示?? 在线等待
T TYZhang Unregistered / Unconfirmed GUEST, unregistred user! 2007-01-30 #2 如果是QRDBText设Mask,如果是QRLabel在Onprint中自己写。
L lijie3602 Unregistered / Unconfirmed GUEST, unregistred user! 2007-02-01 #3 如果是QRDBText设Mask, 请问如何设置?
3 3868474 Unregistered / Unconfirmed GUEST, unregistred user! 2007-02-01 #4 一: 打印前转换成字符串 二: beforeprint(可能是onprint,不记得了)中处理, 如果为'0'则设置为''
3 3868474 Unregistered / Unconfirmed GUEST, unregistred user! 2007-02-01 #6 1:选择数据select d = case d when 0 then '', else cast(d as varchar(20) end from table 2: onPrint中 procedure TfrmFygl.QRDBText1Print(sender: TObject; var Value: String); begin if qry.fieldByName('d').asInteger = 0 then value = ''; end;
1:选择数据select d = case d when 0 then '', else cast(d as varchar(20) end from table 2: onPrint中 procedure TfrmFygl.QRDBText1Print(sender: TObject; var Value: String); begin if qry.fieldByName('d').asInteger = 0 then value = ''; end;