You need to look at the NextValue(fld) function. The way you'd use it is to
create a formula that prints the value of column 2 instead of referencing
the field directly in the details section. In that formula, you compare the
value of the field or fields that constitute your control break with the
NextValue of those same fields. If they are the same, don't print column
2 -- if they are different, print. What you're doing is comparing the
values of the current record to those of the next one (that you haven't
gotten to yet). In this way, you can tell if you're at the end of a control
break.
Pete
-----Original Message-----
From: Avinash [mailto:avinashraj@h...]
Sent: Friday, February 14, 2003 11:44 AM
To: professional vb
Subject: [pro_vb] Crystal Reports -- Vertical Alignment
Hi All,
I have this report with two columns being displayed in the details section.
lets call this col1 and col2.
col1's data typically runs into a few lines while col2's data is always
just one line long. ie...does not span many lines...
when the report is generated col2 is towards the top. I neeed to bottom
align this. very much like valign='bottom' in HTML.
I use crystal reports 7.0. I cant think of how this can be done.
My client is very particular that it is bottom aligned....i'm saying that
cause im sure its not ok with him for me to drop col2 in a sction just
below the section containing col1.
any help/ideas will be great.
Thanks and regards,
Avinash