BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Suppress Blank Line in ReportBuilder

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Jon Jacobs
Guest





PostPosted: Tue Feb 15, 2005 11:07 pm    Post subject: Suppress Blank Line in ReportBuilder Reply with quote



Say you have, in the Details Bank, 4 fields such as
Name
Address1
Address2
City, State Zip

Sometimes there will be an Address2, sometimes there will not.
So, when the underlying table has null or empty string for the Address2 field,

How do I work it in ReportBuilder so that there is not an ugly gap in the report column for these address elements?

What I am doing now, is putting the City, State Zip info into the Address2 spot when Address2 is blank, then making the
spot for City, State Zip be blank. All this does is move the ugly blank to the bottom of the row, so it is not quite so
ugly, but still not acceptible.

Is there a way to do this in ReportBuilder?

Thanks,
Jon Jacobs
Back to top
Nico Cizik (Digital Metap
Guest





PostPosted: Wed Feb 16, 2005 4:30 pm    Post subject: Re: Suppress Blank Line in ReportBuilder Reply with quote



Hi Jon,

Check out the demo 33 located in the RBuilderDemos1. Reports...
directory (dm0033.pas). This example shows how you can use TppMemo objects
to "squeeze" the address to the proper size.

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com

"Jon Jacobs" <JonJacobsAtcomcast.net> wrote

Quote:
Say you have, in the Details Bank, 4 fields such as
Name
Address1
Address2
City, State Zip

Sometimes there will be an Address2, sometimes there will not.
So, when the underlying table has null or empty string for the Address2
field,

How do I work it in ReportBuilder so that there is not an ugly gap in the
report column for these address elements?

What I am doing now, is putting the City, State Zip info into the
Address2 spot when Address2 is blank, then making the
spot for City, State Zip be blank. All this does is move the ugly blank to
the bottom of the row, so it is not quite so
ugly, but still not acceptible.

Is there a way to do this in ReportBuilder?

Thanks,
Jon Jacobs



Back to top
Jon Jacobs
Guest





PostPosted: Wed Feb 16, 2005 9:29 pm    Post subject: Re: Suppress Blank Line in ReportBuilder Reply with quote



Aha. A memo control. Thank you. That's just the ticket.

Jon
--- Nico Cizik (Digital Metaphors) wrote on 02/16/2005 10:30:57 :
Quote:
Hi Jon,

Check out the demo 33 located in the RBuilderDemos1. Reports...
directory (dm0033.pas). This example shows how you can use TppMemo objects
to "squeeze" the address to the proper size.

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.