I need some help in writing a query that addresses this problem. I have inherited an access database that has 50 tables within it. All the tables have the same structure and layout. Each table has 25 fields that describe individual loan characteristics. I need to find out all the unique instances of the field "PREFUND_ID" in all the tables.
I was trying to do the "Union all" query, load all the tables to one table and then do the "group by" for the "PREFUND_ID" field. The union all query did not work, it says - too many fields. (I had given union all *)
I know there must be an easier way of querying through all the tables to identify the unique instances of a certain field. I searched different threads, couldnt find anything that seemed to address this. Any help here would be appreciated.
I was trying to do the "Union all" query, load all the tables to one table and then do the "group by" for the "PREFUND_ID" field. The union all query did not work, it says - too many fields. (I had given union all *)
I know there must be an easier way of querying through all the tables to identify the unique instances of a certain field. I searched different threads, couldnt find anything that seemed to address this. Any help here would be appreciated.