Underline last value in list; double underline group total

Hello Crystal experts...

(1) Is it possible to format a field in the detail section in such a way that the LAST value is underlined?
(2) Is it posslbe to double-underline a group total field?

Something like, instead of
2  {detail fields}
2
2
6  {group footer}

this instead
2  {detail fields}
2
2
___
6  {group footer}
___
___

Thanks in advance.
-Jim
LVL 67
Jim HornMicrosoft SQL Server Data DudeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bdreed35Commented:
You might have a reason for not doing it this way, but have you tried just setting the top border of the field in the group footer instead?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mlmccCommented:
Try this

Right click on the field
Click FORMAT
Click the BORDER tab
Click the FORMULA Button next to BOTTOM
Formula is
if (OnLastRecord)  OR (Next({GroupField}) <> {GroupField}) then
   1
else
   0


For the double underline
Right click the field in the group footer
Add a double bottom border

mlmcc
Jim HornMicrosoft SQL Server Data DudeAuthor Commented:
I'm following you on the formula, however my CR Formula coding experience is still somewhat new (I'm coming from an Access VBA experience)

if (OnLastRecord)  OR (Next(Sum ({spr_single_broker_history_discontinued_breakdown;1.disco_last_status_ndb})) <> Sum ({spr_single_broker_history_discontinued_breakdown;1.disco_last_status_ndb})) then
   1
else
   0

Returns a 'This field has no previous or next value' error message.

The data source is spr_single_broker_history_discontinued_breakdown, the field I'm trying to sum is disco_last_status_ndb.

I have not re-named any fields; just moved them from field chooser to report design, and added appropriate totals, which appears to have created a field named Sum ({spr_single_broker_history_discontinued_breakdown;1.disco_last_status_ndb})), or at least that is how it is displayed in the Formula Editor, and I'm not certain if my not renaming it to something that is removing the spaces from the names is causing the formula to fail.
bdreed35Commented:
Jim:  Just wondering if you saw my earlier post.  If that would work, you would not need the formulas.
Jim HornMicrosoft SQL Server Data DudeAuthor Commented:
>Just wondering if you saw my earlier post.
Actually, I did but went with the formula instead, but now that I have re-visited it it worked like a charm.

mlmcc - I'll award points to bdreed35 here, but will likely have more formula questions in the near future.

Thanks guys.
-Jim
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.