Wrox Programmer Forums
|
Access VBA Discuss 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
 
Old January 3rd, 2008, 03:59 PM
Registered User
 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Linked table connection reset

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.

 
Old January 11th, 2008, 06:55 PM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Without seeing your actual code used, it will be hard to spot the issue.

Please post the actual VBA code you are using.

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a Make Table Query produce a Linked table? kronik Access 5 May 16th, 2006 06:17 AM
Linked Table sdilucca Access 1 February 24th, 2006 07:29 AM
linked table Tasha Access VBA 1 August 6th, 2004 03:04 PM
Help! Detect if linked table is available giswim Access VBA 2 October 3rd, 2003 06:39 PM
Detect if linked table is available giswim Access 0 September 17th, 2003 05:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.