You must process each record set to completion then move to the next.
Sometimes the Programmer Sometimes the DBA Mazz1
Forum Rules