
Relinking a text linked table in access97 from vb?
Quote:
> > How does one relink a linked txt table.
click File\GetExternalData\link tables
under files of type, select 'text files'
under filename select your test file
click Link
when the link text wizard comes up click on the 'advanced' button
click the 'save as' button and enter the name you want for the link
specification
click ok, and finish specifying the link specification
on the 'macros' tab, click 'new'.
under action choose 'TransferText'
choose your link spec from the 'Specification name' combo box
set values for transfer type, table name, and file name.
run the macro to make sure it does what you want.
in the macros window rightclick on the new macro and
select 'save as\export'
select 'save as visual basic module'
delete the link and add it back with updated connection info