borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (To suppress blank section)Next Topic (setting fields position in crystal reports dinamically from VB) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : how to hide field in report if there is no......
Poster Message
asifbhura
Level: Trainee

Registered: 07-05-2005
Posts: 2

icon how to hide field in report if there is no......

Hi everyone

I am using crystal report 8.0.1.0. i am getting all data in report as i desire.

i am displaying all records as given below order in report.

company name:
contact person:
address:
p.o.box:
zip code:
phone no:
fax:
email:

ok i am getting records as i want but if is it possible that suppose there is no data of phone no and fax.

then i want to be displayed data in reports in same order but there should not be any space between zip code and email as given below.

company name:
contact person:
address:
p.o.box:
zip code:
email:

after zip code there must email bcoz there is not data for phone no and fax.
if there is data for this then it should be displayed.


waiting for reply.

Best regards,
ASIF

07-05-2005 at 03:21 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: how to hide field in report if there is no......

As far as I know, you would have to create a formula field with many iif's. Something like:

iif({Table.companyname}<>"","Company name: " & {Table.companyname},"") ....

etc etc for every one.

____________________________
If you find the answer helpful, please mark this topic as solved.

08-05-2005 at 02:22 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : how to hide field in report if there is no......
Previous Topic (To suppress blank section)Next Topic (setting fields position in crystal reports dinamically from VB) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder