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!

equivalent to CurrentFieldValue 1

Status
Not open for further replies.

cjbrown815

IS-IT--Management
Joined
Mar 2, 2006
Messages
525
Location
US
XP/CRXI/SQL2005

Is there an equivalent to CurrentFieldValue?

The "CurrentFieldValue" cannot be used in a formula field only in conditional formatting, so how do I finish this off? Whats the equivalent?

if {SAMPLEPARAM.PA_NAME}="Ric Avg True Protein" then "AVG True Protein" else
if {SAMPLEPARAM.PA_NAME}="AVG Pct Ash sep samples" then "AVG ASH" else
if {SAMPLEPARAM.PA_NAME}="AVG Pct BF Mojo sep samples" then "AVG BF MOJO" else
if {SAMPLEPARAM.PA_NAME}="AVG Tot Solids Mojo multisamp" then "AVG TS MOJO" else CurrentFieldValue

-CJ
 
Hi,
Try:
Code:
if {SAMPLEPARAM.PA_NAME}="Ric Avg True Protein" then "AVG True Protein" else
if {SAMPLEPARAM.PA_NAME}="AVG Pct Ash sep samples" then "AVG ASH" else
if {SAMPLEPARAM.PA_NAME}="AVG Pct BF Mojo sep samples" then "AVG BF MOJO" else
if {SAMPLEPARAM.PA_NAME}="AVG Tot Solids Mojo multisamp" then "AVG TS MOJO"  
else 
{SAMPLEPARAM.PA_NAME}



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
You got a doubler for this one :)

-CJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top