SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


LineHeight issue


LineHeight issue

Author
Message
Andy Reilly
Andy Reilly
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1378 Visits: 402
Hi,

I've got a report that has a table, with 2 different levels of indent, populated by a dataset that contains 2 fields Description and DescriptionLevel. The Level field is used to determine what level of indent to use. Level 1 would give me a bullet with the text then in column 2, Level 2 would give me a smaller bullet in column 2 with the text in column 3. The table has 3 columns as below

My top row (Level 1) has column 2 and 3 merged.

-----------------------------------------
- > -- Level 1 Description -
- -- > -- Level 2 Description -
- > -- Level 1 Description -
- > -- > -- Level 2 Description -
-----------------------------------------

My data is returned like this :-

Description DescriptionLevel
Level 1 Description 1
Level 2 Description 2
Level 1 Description 1
Level 2 Description 2

I set the LineHeight value on the row to be either
=iif(Fields!DescriptionLevel.Value= 1, "0.6cm", "0cm")
or
=iif(Fields!DescriptionLevel.Value= 2, "0.6cm", "0cm")

depending on the line, and I display the correct data at the right level of indent - The problem is even though I have set the lineHeight to 0cm where the data is at the other level, I still get a blank line in its place, with the effect that everything looks doubles spaced

Any ideas?

Regards
Andy
Andy Reilly
Andy Reilly
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1378 Visits: 402
Not sure what I was thinking here - I just set the Row Visibility - much easier :-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search