Hi Ken,
I would code it as:
If this
X = this
else
X = that
endif
return X
OR
Return iif(this, this, that)
I don't recall ever running into a situation that couldn't be coded with a single return at the end of the code.
>oops - hit send to quick - that should have read:
>
>I agree in general - I do not like imbedded Returns and only use them on very small library procedures a la ...
>
>If this
> return this
>else
> return that
>endif
>
>
kenweber
GCom2 Solutions
Microsoft Certified Professional