Access VBADiscuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
If a link to a visual foxpro table is created using a connect string containing both a DSN reference and an explicit path to the visual foxpro data folder the table links and opens using the settings from the DSN. The only way the explicit link comes into play is after msaccess is restarted. Closing the database does not help.
This is a typical connect string used: ODBC;DSN=SPCS_TFE;Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=C:\spcs_administra tion\Adm2000\TFE_2007_1;Exclusive=No;Collate=Machi ne;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO;
Have tested tabledefs.refresh etc. Nothing helps only application restart.