<< Larry, just for a test, try putting your code in a Stored Procedure and CALLing it from the form. It might be faster, and I might be out to lunch - it's happened before.
>> The results are interesting. In a stored procedure, when called from the R> prompt, the code takes the same (longer) amount of time it takes from inside the form, even with no form in use. I've updated the subject line to reflect this. -- Larry

