The elegant solution is to pass the correct number of parameters that the UDF expects. I was assuming that your UDF was going to *allow* a variable number of parameters - then you could program for a "most-case" scenario.
JP
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.