spaLOGICng
Member
- Local time
- Today, 15:40
- Joined
- Jul 27, 2012
- Messages
- 163
Hi,Thanks for the explanation Doc Man. I tried to do a compile on the F/E but it is too big. Also the documenter will not work.
No matter it will give me a task to do tonight.
A lot of times this error is generated by broken links to external sources. If the source table has been renamed, moved, or deleted, this particular error will occur.
I have a toolbox of code I have written over the many years that helps me analyze the integrity of an access application. One in particular is a simple loop mechanism that will open each table as a record set using a select top 1 * from tdf.name. The Tables that do not open are assumed broken.
The broken table links can be by design or just bad dbms management. Once you have identified and deleted the links, you will likely be able to use the built-in Access tools. A caveat to deleting broken tables is when it's by design, which is elementary. A developer may have created a linked table, makes use of the tdf in VBA, but does not test for existence and assumes it is there to interact with. It is my opinion that all temporary tdf's should be deleted when the processing procedure ends. I typically use exit_handler to clean up variables and temporary objects.