ian.moree

Can someone please explain!

Discussion created by ian.moree on Dec 14, 2011
Latest reply on Dec 14, 2011 by sporobolus

[code]

CUSTOM FUNCTION // http://www.fmfunctions.com/functions_display_record.php?functionId=209

AllowInputInAutoEnter ( _self ; _value ; _triggers )

 

by Fabrice Nordmann & Tanguy Collès

 

Case (

GetFieldName ( _self ) = Get ( ActiveFieldTableName ) & "::" & Get ( ActiveFieldName ) &

Case ( Get ( ActiveRepetitionNumber ) > 1 ; "[" & Get ( ActiveRepetitionNumber ) & "]" )

; Get ( ActiveFieldContents )

; _value

)

[/code]

 

COuld this have been written better? I really dont know what this is doing with all the concatenation. Just dont understand what this is doing , where

it stops for 1st Case the ends with 2nd Case.

 

-i

Outcomes