G
Guest
Hi!
I'm having a problem with a query.
I have many many tables that I receive from my customers. I'm doing some
queries, and these queries use DISTINCT.
However some of this tables sometimes can be without registers, they have no
information.
I can't open each one to check it, so I have to use this query with Distinct
automatically.
But querying a NULL table with DISTINCT, I got a error and MsAccess closes.
What to do? Is there any way to discover automatically if the table is empty
before doing this distinct query?
Thanks everybody!
I'm having a problem with a query.
I have many many tables that I receive from my customers. I'm doing some
queries, and these queries use DISTINCT.
However some of this tables sometimes can be without registers, they have no
information.
I can't open each one to check it, so I have to use this query with Distinct
automatically.
But querying a NULL table with DISTINCT, I got a error and MsAccess closes.
What to do? Is there any way to discover automatically if the table is empty
before doing this distinct query?
Thanks everybody!