Sorry if the subject is a bit misleading, but it *is* what I'm striving for!
I have a table and all the records within are accessible to all users.
On a form I have a couple of search criteria that can be set which then Runs a query to gather all the records that match.
I then stupidly programatically copied the records to a 'temp' table, and didn't think about any other user doing the same procedure that would also over-write the 'temp' table, causing random problems!
Is there a way to create a temporary table in memory
or
Would it be good enough to try and create a unique table when the form loads
i.e.
create random number
look if table with that number as a name exists
if it does --> create another number
loop back
if it doesn't --> set that number as a global constant for the current user and delete the table once done
Thanks all for any help
Aubs
I have a table and all the records within are accessible to all users.
On a form I have a couple of search criteria that can be set which then Runs a query to gather all the records that match.
I then stupidly programatically copied the records to a 'temp' table, and didn't think about any other user doing the same procedure that would also over-write the 'temp' table, causing random problems!
Is there a way to create a temporary table in memory
or
Would it be good enough to try and create a unique table when the form loads
i.e.
create random number
look if table with that number as a name exists
if it does --> create another number
loop back
if it doesn't --> set that number as a global constant for the current user and delete the table once done
Thanks all for any help
Aubs