My client has a db I am working that uses temp tables. During an
update procedure, I had the code If fTableExists(te mpTblName) = True
Then DoCmd.DeleteObj ect acTable, tempTblName
Then I thought of using: If fTableExists(te mpTblName) = True Then
CurrentDb.Execu te "DROP TABLE " & tempTblName
Is there an advantage to either? What really be cool is DROP TABLE
deleted the table and I didn't have to compact the db so much.
update procedure, I had the code If fTableExists(te mpTblName) = True
Then DoCmd.DeleteObj ect acTable, tempTblName
Then I thought of using: If fTableExists(te mpTblName) = True Then
CurrentDb.Execu te "DROP TABLE " & tempTblName
Is there an advantage to either? What really be cool is DROP TABLE
deleted the table and I didn't have to compact the db so much.
Comment