Remove null or empty fields

Stimulsoft Reports.NET discussion
Post Reply
ngaheer
Posts: 44
Joined: Sat Jul 22, 2006 1:12 am
Location: San Jose

Remove null or empty fields

Post by ngaheer »

Hi,

If I had address1 and address 2 and address3 on three separate lines in one databand, if only address 1 and address3 is filled in, then do not make an empty line space for address 2. My requirement is as following

Example:

I have three fields in a databand as in the following order

Address1
Address2
Address3

If only address1 field has data and other two field has not any data, so how can i remove the empty space for other two fields in preview of report.

Thanks.

Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

Remove null or empty fields

Post by Brendan »

Hi,

Try this thread and see if it helps

http://forum.stimulsoft.com/Default.aspx?g=posts&t=1272

ngaheer
Posts: 44
Joined: Sat Jul 22, 2006 1:12 am
Location: San Jose

Remove null or empty fields

Post by ngaheer »

Hi,

I see your forum that is working but my need is still pending. Let me explain you.

Address1(Data exist)
Address2(Data not exist)
City (Data Exist)

yes it populating as follows:

Address1
City


But it displayed the third line space is still displayed.

I dont want to see the blank space line.

it displayed output like following:-

First record:-
3 Cedar
NY
BLANK LINE(EMPTY SPACE)

Second record:-
395 Cedar
Lawn Avenue
NY

Third Record:-
Lawn Avenue
NY
BLANKLINE


So i dont want to show the BLANK SPACE LINE so can you plz guide how to resolve this issue,

Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Remove null or empty fields

Post by Edward »

Hello, Nqaheer.

Please send you report template (*.mrt file) to support[at]stimulsoft.com and we'll provide you a solution.

Thank you.
ngaheer
Posts: 44
Joined: Sat Jul 22, 2006 1:12 am
Location: San Jose

Remove null or empty fields

Post by ngaheer »

Hi,

I have sent the report template (.mrt) at support@stimulsoft.com. Please check it.

Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Remove null or empty fields

Post by Edward »

Thank you for the report.

The issue was fixed by setting of the 'CanShrink' DataBand's property in true.

Thank you.
Post Reply