Question : Visual Studio Client-side Reporting Spaces in your text formatting

I have mostly done crystal Reporting, with asp.net. When a server changed I just bit the bullet and went into each Report and changed the location/name of the server.

I am now building an asp.net that I have to hand to others to implement, and the only change I want them to have to do is in the connection string in the web config. Crystal is proving totally unable to keep the dynamic dataset persistant, so I am trying to change to Client-side reporting which does prove to be built for this functionality.

But, so little documentation on this Report feature..

I have two groups 1) Unit  2) Name & position..
I want the two to show up as

Troop 1234
    Ben Brown - ScoutMaster

So I have the two following Text formats..
="Unit : " & Fields!Unit.Value & " " & Fields!UnitNumber.Value
=  "         Name : " & Fields!FullName.Value & " - "  & Fields!Position.Value

But I get..

Troop 1234
Ben Brown - ScoutMaster

the spaces are removed from my Text Format.

I tried .. A period at the beginning thinking that it just didn't like leading spaces

=  ".         Name : " & Fields!FullName.Value & " - "  & Fields!Position.Value

I got
Troop 1234
. Ben Brown - ScoutMaster

(Only 1 space between the period and the "B".. and it removed all the others.)

I tried putting the @ at the beginning of the string to state to read it literally the way it is.. It gave me an error..

So how do you format your spaces ? Or some other trick to get the fields to display the way I wish?

Answer : Visual Studio Client-side Reporting Spaces in your text formatting

I assume the text fields are left aligned.  If you always want it indented why not simply indent the bottom field.  

Also is the field set for left or right justification?

mlmcc
Random Solutions  
 
programming4us programming4us