B
Brad
Thanks for taking the time to read my question.
My original question was how to find out,
programmatically, the link info on a linked table (as
seen in linked table manager). In my case I have linked
to a text document, and I would like to know the file
path and the file name of the linked table.
I received some help from Allen Browne, Thanks Allen!!!!
(- Microsoft MVP. Perth, Western Australia.
)
Parse the file name and path from the Connect property of
the TableDef:
dbEngine(0)(0).TableDefs("MyTable").Connect
I tried this and got
Text;DSN=;FMT=Delimited;HDR=NO;IMEX=2;Database=C:\NewFolde
r
which is the file path to my database, not my text file.
It also doesn't include the file name. I think I can use
this in other places, but I still need a solution to my
problem.
Thanks again,
Brad
My original question was how to find out,
programmatically, the link info on a linked table (as
seen in linked table manager). In my case I have linked
to a text document, and I would like to know the file
path and the file name of the linked table.
I received some help from Allen Browne, Thanks Allen!!!!
(- Microsoft MVP. Perth, Western Australia.
)
Parse the file name and path from the Connect property of
the TableDef:
dbEngine(0)(0).TableDefs("MyTable").Connect
I tried this and got
Text;DSN=;FMT=Delimited;HDR=NO;IMEX=2;Database=C:\NewFolde
r
which is the file path to my database, not my text file.
It also doesn't include the file name. I think I can use
this in other places, but I still need a solution to my
problem.
Thanks again,
Brad