Dim td As TableDef
For Each td In CurrentDb.TableDefs
If td.Name = stLocalTableName Then
Hi I have gotten the following code which is said to close the open tables only. But sometimes my tables get closed and I suspect this code!
Is this code actually deleting open tables?
Is there anyway to amend it to close a table if its open?