I have a union query with 26 subsequent queries built in Access; however, I get an error saying "System resource exceeded.". I'm assuming I just have too many queries for it to process. If it cut out four of them it works fine. So my question is, can I somehow do a union in VBA with the ability to run 26 queries that would be more efficient so I wouldn't run out of resources? If so, is there a way to just reference the name of the queries instead of pasting the SQL code? Not sure how to structure this.