Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vertical Alignment in Crosstab 1

Status
Not open for further replies.
Feb 9, 2009
77
US
I am trying to get a value vertically aligned within a crosstab. I am using this formula in the Display String formula under format field:
replicatestring(chr(13),1) + cstr(currentfieldvalue)

This works fine when the value is a string, but when it is a number its is returning #########

Any ideas?
 
That is not the problem. When I expand the field the number is returned, but not on the next line. It appears that it is pushing the text the value to right the within the cell rather than returning it on the next line.
 
You don't need to use replicatestring if you just want one return--just use chr(13)--although it doesn't hurt and this isn't causing the problem either.

I see that this problem occurs in the inner cells of the crosstab, but not for labels. Instead of this approach, you could add an additional summary as your first summary field, and then suppress it.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top