Thursday, October 11, 2007

Simplifying Evaluate

I came across this tips from Tommy Valand site. Used it and loved it. I have even roll out on production application. He show a way to simplify getting the return value from evaluate function

Dim commonUsername As String
commonUsername = Implode( Evaluate( |@Name( [CN] ; @UserName )| ) )

Just becareful that you know the Evaluate return single value and not multiple value.

No comments: