Notices


Reply
 
LinkBack Thread Tools Display Modes

Old 05-12-2008, 11:26 AM   #1 (permalink)
Junior Member

Join Date: May 2008
Posts: 7
Rep Power: 0 cyip@mmm.edu is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)
- API/VBA

Formula display next line (help)

hi
i try to use formula to display some information vertically but i can't. Can anyone help?

this is the formula.
"Pledge Date: "&DateValue({Gf.Gf_Date})& " Amount: "
&{Gf.Gf_Amount}&" "& {@Balance}&" Fund: "&{Gf.Gf_Fund}

this is the return display
Pledge Date: 3/3/2004 Amount: $500.00 Balance: $0.00 Fund: 150 Golf Tournament

but i want the return like this :
Pledge Date: 3/3/2004
Amount: $500.00
Balance: $0.00
Fund: 150 Golf Tournament

how can i force the formula to display next line.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 05-12-2008, 12:08 PM   #2 (permalink)
custom.part

digitalslacker's Avatar

Join Date: Oct 2006
Location: Annapolis, MD
Posts: 332
Rep Power: 3 digitalslacker is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Information Edge (TIE)
- Financial Edge (FE)
- NetCommunity (BBNC)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)
- API/VBA

if this is displaying on the web just doing something like
Pledge Date: 3/3/2004 & "<br/>"
will work
otherwise if this is a VB Applications do
Pledge Date: 3/3/2004 & vbCrLf
hope that helps
__________________
Garrett Keating
Senior Web Developer
U.S. Naval Academy Alumni Association & Foundation
www.usna.com
customizingNetCommunity.com


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 05-12-2008, 12:48 PM   #3 (permalink)
Crystal Reports Guru

DrewAllen's Avatar

Join Date: May 2006
Location: Philadelphia, PA
Posts: 1,155
Rep Power: 4 DrewAllen is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Information Edge (TIE)
- API/VBA

There are several ways to approach this, and you happened to pick the hardest.

The easiest way is to create a text box and embed the data fields inside the text box wherever appropriate. You can easily add CR/LF in a text box.

The next easiest option is to create a separate formula for each line. Is there some reason that you did not take this approach?

The last option is to use the Chr() function to insert a carriage return Chr(13) and a linefeed Chr(10).

Since this was posted in the Crystal Forum, I'm assuming that the question was about Crystal rather than the web or a VB application.

Drew
__________________
J. Drew Allen
Children's Hospital of Philadelphia

Crystal Reports and SQL Server Consultant

It is better to live your destiny imperfectly than to live an imitation of somebody else's life with perfection.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 05-12-2008, 02:10 PM   #4 (permalink)
Junior Member

Join Date: May 2008
Posts: 7
Rep Power: 0 cyip@mmm.edu is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)
- API/VBA

Drew
thanks for your help
the reason i donot use text box because it duplicated in detail section.
second option, i do not use separate formula because in my formula contain if statement.
the last option is working perfect, thanks for all your help


one more question if the gift is split gift

Pledge Date: 3/3/2004
Amount: $500.00
Balance: $0.00
Fund: 150 Golf Tournament; 101 Unrestricted fund; 102 library fund


how can i separate the fund by ;

Pledge Date: 3/3/2004
Amount: $500.00
Balance: $0.00
Fund: 150 Golf Tournament

101 Unrestricted fund
102 library fund



Quote:
Originally Posted by DrewAllen View Post
There are several ways to approach this, and you happened to pick the hardest.

The easiest way is to create a text box and embed the data fields inside the text box wherever appropriate. You can easily add CR/LF in a text box.

The next easiest option is to create a separate formula for each line. Is there some reason that you did not take this approach?

The last option is to use the Chr() function to insert a carriage return Chr(13) and a linefeed Chr(10).

Since this was posted in the Crystal Forum, I'm assuming that the question was about Crystal rather than the web or a VB application.

Drew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Phoenix Landscaping - Credit Counseling - Internet Marketing - Loans
All times are GMT -6. The time now is 04:29 AM.

Miscellaneous


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel Team 2008 :: jvbPlugin R1012.364.1

SEO by vBSEO 3.2.0 Copyright 2008 Blackbaud User SocietyAd Management by RedTyger
Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64