Notices


Reply
 
LinkBack Thread Tools Display Modes

Old 12-20-2007, 01:14 PM   #1 (permalink)
Junior Member

Join Date: Nov 2006
Posts: 9
Rep Power: 0 bethr is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)

Question Help with a formula

I need to have a formula that will work if a field contains on of these items to come back true, can anyone tell me what type of formula would work. Currently I am using the "in" function with an "or" seperator and it does not pick up one of the fields.
__________________
Beth Romano
Jewish Federation of Greater Harrisburg
b.romano@jewishfedhbg.org
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 12-20-2007, 01:19 PM   #2 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,452
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

Can you copy and paste your formula in here?
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



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 12-20-2007, 01:21 PM   #3 (permalink)
Junior Member

Join Date: Nov 2006
Posts: 9
Rep Power: 0 bethr is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)

Here is the formula that I am using.

"Stock/Property" in {CnGf_1.CnGf_1_Type} or "Pay-Stock/Property" in {CnGf_1.CnGf_1_Type}
__________________
Beth Romano
Jewish Federation of Greater Harrisburg
b.romano@jewishfedhbg.org
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 12-20-2007, 01:30 PM   #4 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,452
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

The in formula just needs commas between the items.

try it this way

{CnGf_1.CnGf_1_Type} in "Stock/Property", "Pay-Stock/Property"
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



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 12-20-2007, 01:48 PM   #5 (permalink)
Junior Member

Join Date: Nov 2006
Posts: 9
Rep Power: 0 bethr is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)

When I tried that it said remain text does not belong in formula.
__________________
Beth Romano
Jewish Federation of Greater Harrisburg
b.romano@jewishfedhbg.org
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 12-20-2007, 01:53 PM   #6 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,452
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

What is the whole formula you want to do?
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



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 12-20-2007, 02:16 PM   #7 (permalink)
Junior Member

Join Date: Nov 2006
Posts: 9
Rep Power: 0 bethr is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)

I want to print a message if someone has paid by stock. It is a 2 part formula, the first one comes with either a true or false answer, then depending on that answer will print the appropriate message.

I find that the formula works on some records and doesn't on others and I can't figure out why.
__________________
Beth Romano
Jewish Federation of Greater Harrisburg
b.romano@jewishfedhbg.org
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 12-20-2007, 02:18 PM   #8 (permalink)
Senior Member

Join Date: Sep 2006
Posts: 257
Rep Power: 3 jas. is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

sometimes bbcode cuts out brackets when you post -- did you mean

Code:
{CnGf_1.CnGf_1_Type} in ["Stock/Property", "Pay-Stock/Property"]
?
__________________
james andrews
manager of development services
philadelphia museum of art
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 12-20-2007, 02:24 PM   #9 (permalink)
Junior Member

Join Date: Nov 2006
Posts: 9
Rep Power: 0 bethr is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)

no, that is not the formula that I used. That was suggest by Melissa and I received an error message when I tried that one.

This is the formula I am using.
"Stock/Property" in {CnGf_1.CnGf_1_Type} or "Pay-Stock/Property" in {CnGf_1.CnGf_1_Type}
__________________
Beth Romano
Jewish Federation of Greater Harrisburg
b.romano@jewishfedhbg.org
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 12-20-2007, 02:38 PM   #10 (permalink)
Senior Member

Join Date: Sep 2006
Posts: 257
Rep Power: 3 jas. is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

Yeah, I mean, that's why you might have gotten an error message when you tried Melissa's formula, because it's showing up on the board here without the square brackets around the array.
__________________
james andrews
manager of development services
philadelphia museum of art
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 12-20-2007, 02:40 PM   #11 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,452
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

sorry- i did forget the brackets!

Try a formula like:

if {CnGf_1.CnGf_1_Type} in ["Stock/Property", "Pay-Stock/Property"]
then "Text A"
else "Text B"
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



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 12-20-2007, 03:42 PM   #12 (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

James is correct. You definitely need the square brackets in order for the formula to work.

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 12-21-2007, 07:24 AM   #13 (permalink)
Junior Member

Join Date: Nov 2006
Posts: 9
Rep Power: 0 bethr is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)

Thank you for all your help, the formula works. But I now realize that if the last gift in the list returns a false answer the statement about stock does not print. Does anyone know of a way to do that.

Thanks
__________________
Beth Romano
Jewish Federation of Greater Harrisburg
b.romano@jewishfedhbg.org
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 12-21-2007, 08:21 AM   #14 (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

You need to do a Maximum() for the group of records. I'm assuming that this group will be based on constituent, but it really could be any relevant group.

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 12-21-2007, 01:39 PM   #15 (permalink)
Junior Member

Join Date: Nov 2006
Posts: 9
Rep Power: 0 bethr is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)

Thank you it worked using the maxinum function. I never heard of it before.
__________________
Beth Romano
Jewish Federation of Greater Harrisburg
b.romano@jewishfedhbg.org
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

Tags
formula


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


Cheap Gas - Loans - Mortgage - Loans
All times are GMT -6. The time now is 04:10 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