>Naomi,
>
>The parameter thing as unnecessary as it is should not cause a problem, I think. On the other hand your method is doing two things that I would not do: Changing the current active area and changing the order of a table without restoring it, and both things are unnecessary as you could specify alias or/and orders in the commands you are using. Oh, and what about mdot notation? Is it possible that you have a variable/field collision?
I changed all of this but didn't re-try yet as I'm trying to work on some other unrelated problem at the moment.
If it's not broken, fix it until it is.
My Blog