Todd,
There is also another approach - Memo-like strings and using Evaluate function.
The idea is simple - first of all you need a function for transforming all types of values to theis 'evaluate' equivalent.
Transform() will do the thing in most cases, but for strings you need a special coding - you should add quotes around them, and to substitute all quotes in them with ['+chr(39)+'] (remove sqare brackets)
So multiple values you want to return can be added to one string, separated by chr(13)
(it looks like a special form of CSV)
when you recive such type of result you can use MLINE() and EVALUATE() to get each of the values.
If something is unclear to you mail me for assistence (I read Universal Thread forums really rarely)
Regards
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!