Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
how to set detail band visibility false
rbuser
April 2005
edited April 2005
in
General
if memo field in detail band is blank, how can i do detail band invisible.
Comments
rbuser
April 2005
edited April 2005
ALÝ ÇELÝK a écrit :
By program or in the report designer ?
rbuser
April 2005
edited April 2005
via fuction in reportdesigners
Example:
procedure DetailsBeforeGenerate;
begin
if length(view0['accfullname'])< 2 then detail.visible:=false
else detail.visible:=true;
end;
this procedure does not work
Best Regards..
Ali ?ELIK
"Marc Pleysier - Solune Informatique" , haber iletisinde
sunlari yazdi:4250db1a@dm500....
rbuser
April 2005
edited April 2005
I use :
if ppBDEPipeLine.DataSource.DataSet.FieldByName('MyMemo').asString=''
then ...
ALI ÇELIK a écrit :
rbuser
April 2005
edited April 2005
Hello
what is the problem with my example??
Ali ?ELIK
"Marc Pleysier - Solune Informatique" , haber iletisinde
sunlari yazdi:425132e1@dm500....
nicocizik
April 2005
edited April 2005
Hi Ali,
If you trace into your example code, what is the value of the length of the
"accfullname" returning as? Try moving your code to the
DetailBand.BeforePrint and seeing if that helps.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This discussion has been closed.
Comments
By program or in the report designer ?
Example:
procedure DetailsBeforeGenerate;
begin
if length(view0['accfullname'])< 2 then detail.visible:=false
else detail.visible:=true;
end;
this procedure does not work
Best Regards..
Ali ?ELIK
"Marc Pleysier - Solune Informatique" , haber iletisinde
sunlari yazdi:4250db1a@dm500....
if ppBDEPipeLine.DataSource.DataSet.FieldByName('MyMemo').asString=''
then ...
ALI ÇELIK a écrit :
what is the problem with my example??
Ali ?ELIK
"Marc Pleysier - Solune Informatique" , haber iletisinde
sunlari yazdi:425132e1@dm500....
If you trace into your example code, what is the value of the length of the
"accfullname" returning as? Try moving your code to the
DetailBand.BeforePrint and seeing if that helps.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com