Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete tmp table from back-end databese

Status
Not open for further replies.

paukste

IS-IT--Management
Nov 27, 2003
10
0
0
LT
Hello,

I have FE/BE databases. I want to delete tmp table (BE) after import data to another table from fron-end database.

I've tried to use following code:

CurrentDb.TableDefs.Delete "[;DATABASE=" & DBFile & ";]." & TableName & ""

where :
DBFile = "C:\a.mdb"
TableName ="table1"

but I get error "Item not found in this collection"

Maybe somebody has solution.
Thank you






 
I'd use SQL code (DROP TABLE)

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top