Build a Temporary Table

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,341
Office Version
  1. 365
Platform
  1. Windows
I am trying to see if want I want to do is even possible before I do more research.
I would like to have a "Temporary" table. I want to build a table on the fly when the user Uploads data from excel and then when they close the database the table and its data are deleted (Or just the data that was uploaded).
Big Picture: I want the users to be able to upload a list of parts, I then want to query that data against other permanent tables. But once the user is done, I no longer want that list of parts in my database.

Any suggestions are appreciated. Thanks
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Yes it is possible.
Perhaps use Google and the CREATE TABLE statement.?
 
Upvote 0
It depends on what you mean by the user uploading data. In general I would prefer to have a real table that is not temporary but is used temporarily. However, it's pretty much potato potato on that ... you create a table use it, and delete. Or you clear a staging table and use it. Having some extra tables in the DB used for processing is no big deal. As far as creating a table - that's really not hard at all so a quick google search will turn up many examples I am sure.
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,046
Members
449,063
Latest member
ak94

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top