I have recently run into this as well. I ended up doing this in multiple steps, creating the individual cursors then combining them. Depending on your needs, will this work? combind both cursors, then another query for the grouping or group group each query separately, then join them?
David
David