another quick thought, another option to add to your list (although the thread's last post is some months old now) ... You could use a recordset instead of a table. This keeps the info stored in memory instead of in the database file, and your file never grows.
Of course, the advisability of using this technique depends on the amount of data you're storing, the length of time that the data must exist (given that you've said this is a temp table), how many different objects (forms, queries, modules, etc.) in your database need to access the data, and the amount of memory available to the computers running your database at the time they're running it (accounting for other simultaneous uses of memory).
---
By the way, Gerard1979, a question about this mailing data that is deleted and recreated every time: Is the data unique to each user, but always mostly the same for each user? In other words, for your specific application, is it worth keeping the data for each user (and perhaps letting them modify their own data-set)? If the answer to these questions is "yes", then perehaps it would be good to keep A) a permanent table in the back end, each record associated with a user, OR B) a table or equivalent on each user's machine with their data. For instance, if the "table [you] use for mailings" is a list of contacts' addresses for the current user, and the list of contacts for a given user doesn't change (much) -- each user may have a distinct/unique list, but the lists themselves don't change (much) -- then why not store the data long-term and let them make changes only as needed?
On the other hand, if the data changes each session (or has the potential to), if the data has to be re-gathered or derived on the fly all the time, then you probably don't want to store it.
-- C Vigil =)
(Before becoming a member, I also signed on several posts as
"JustPassingThru" and "QuickieBoy" -- as in "Giving Quick Answers"
