Ok. I have received help and got it fixed. I didn't have the variables matching the first query. I haven't done a UNION ALL recently. Thanks. Ron
Ok. I have received help and got it fixed. I didn't have the variables matching the first query. I haven't done a UNION ALL recently. Thanks. Ron