"Make Table" Issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a "Make Table" Aggregate Query which is not producing the same data
consistently.
Are there any known issues doing this?

Never had to before, but if I use a Function to see if "TableExists"...find
it, and Delete that Table before running the "Make Table" again, maybe that
will produce consistent results??

TIA - Bob
 
Why would you do that. By default the make table query will overwrite an
existing one. If the is a problem then my guess is that it isn't in the
making of the table.

What exactly is the problem you are encountering. Is the data not correct?
Is your query output not identical to your table data created by the make
table query. Provide a little more info and we can 'think' with you on this
one...
 
"Is your query output not identical to your table data created by the make
table query." ---->
I'm not getting the "correct data" each time I run the Query making the table.

Thank you - Bob
 
I have a "Make Table" Aggregate Query which is not producing the same data
consistently.
Are there any known issues doing this?

Never had to before, but if I use a Function to see if "TableExists"...find
it, and Delete that Table before running the "Make Table" again, maybe that
will produce consistent results??

I'd simply delete the target table first (and trap the error if it's not
there).

Without knowing anything about your tables, the SQL of your query, or the
nature of the error, it's more than a bit difficult to advise!

One question though: why routine make-table queries? In my experience they are
rather rarely needed; you can base a Form, a Report, an Export, even another
Query on a select query. A MakeTable bloats your database, has a LOT of
overhead creating new system table entries and indexes, etc. etc. - what
purpose do these made tables serve?

John W. Vinson [MVP]
 
John - Thank you.

I use the Table for a SQL statement in a module to Copy from Recordset in
Access-to-Excel automation. I'm not at the Client today, but could Post that
code next Tuesday when I'm there again. I know it works, but am willing to
learn a better way.

Bob
 
John - Thank you.

I use the Table for a SQL statement in a module to Copy from Recordset in
Access-to-Excel automation. I'm not at the Client today, but could Post that
code next Tuesday when I'm there again. I know it works, but am willing to
learn a better way.

You can export from a Table to Excel.

You can export from a Query to Excel.

The two processes are identical, except that by exporting a query you save the
extra step of creating a table.

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top