You're welcome.
>Thanks for the explanation, Sergey
>
>Fortunately, that is exactly what VFE does on the front end in resolving the dynamic param to pass through to the back end. I got so hung up on trying to solve it on the TSQL side I forgot the framework I'd been using for 10 years already had it worked out ( and I've even used it in my apps - it's tough getting old <s> )
>
--sb--