P
Paul
Is there any way to capture the path of a linked table (say, tblContacts) in
VBA?
Thanks in advance,
Paul
VBA?
Thanks in advance,
Paul
Paul said:Is there any way to capture the path of a linked table (say, tblContacts)
in VBA?
The GetDataPath() function here will do it for you:
http://allenbrowne.com/ser-53code.html#GetDataPath
The Connect string contains several elements, e.g. it may contain
user name and password info. It seems inappropriate to go
displaying that kind of security info in the interface, hence the
suggestion to Split the items and get just the one you want.
Paul said:By the version of the database I was referring to the version of JET.
Allen Browne said:Ah, okay. Hopefully you found the JET version function on the same page:
http://allenbrowne.com/ser-53code.html#GetJetVersion