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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula Help

Status
Not open for further replies.

danielw

Technical User
Joined
Apr 22, 2003
Messages
9
Location
NZ
I have the following formula in my report.

if ({Weights.Account} = ["ges2","fr2"]) then {@charge4} else 6

I want the formula to work if I have any weight.account with a 2 at the end of account name Ie ges2,fr2,jj2. Now I have to put each account in between brackets like above for this formula to work.

Thanks
Daniel
 
if right(({Weights.Account},1)="2" then {@charge4} else 6

Software Training and Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com
 
Thanks dgillz that was what I needed.

Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top