Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: aligning text and numeric fields vertically Post Reply Post New Topic
Author Message
andyoneill
Newbie
Newbie


Joined: 19 May 2007
Online Status: Offline
Posts: 12
Quote andyoneill Replybullet Topic: aligning text and numeric fields vertically
    Posted: 22 May 2007 at 1:48am
Hello again,
 
Crystal from vs 2005.net and asp.net front end.
 
I have a report which mixes text objects and numeric fields on the same line.
So part of it will show something like "some text data field 3 x 4 = 12"
 
The 3, 4 and 12 rew numeric fields and the "some text data field" is a text field.  The  x and =  are text objects.
The vertical alignment of the numbers and textual fields differs in the html page rendered from asp.net.
So the numbers are low down on the line and the text high up.
 
It looks OK in the preview viewer but all over the show as html.
 
The fields are top aligned and exactly the same height.
I tried making them all a very small height and setting "can grow".
Still not right.
 
I'm thinking of maybe changiong the numeric fields to text in my sql but that'd be a PITA.
Is there any better work-round anyone has?
 
vertical-alighnment with CSS is problematic.
I suppose I could relatively position the numeric fields all a bit higher or something....
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 22 May 2007 at 10:31am
Ok, I'm not certain if this feature is in .NET 2003 (too many version to keep track of now), but I think it is: Don't put the fields next to each other. You can drag and drop a data field into a text object and it automaticatlly concatenates the fields side by side into a single text field. That way you don't have to worry about the alignment because it is all one field.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

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



This page was generated in 0.031 seconds.