Can you use a temporary table for this?
You could wrap it in a stored proc (say SQL language) for getting and setting varaibles.
Best Wishes,Chris TraversMetatron Technology COnsulting
>