Mark Burns said:
Also, that code doesn't properly handle cases where the linked table name
has been changed in the front-end database, and this is a permissible
configuration. The collections really should store both the Name and the
SourceTableName to properly handle this condition.
I don't see any advantage to your first suggestion (checking the Attributes
property): that doesn't strike me as any more efficient than checking that
the Connect property is set.
You're correct about the second suggestion, but you'd only need to do that
in an application where you have renamed the table. Since you, as the
developer, will always know whether or not that's the case, it's a moot
point whether or not to build that capability into generic code.