Link to home
Start Free TrialLog in
Avatar of Laurence Martin
Laurence MartinFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ODBC connection fails

Hi,

I am having trouble with an ODBC connection to my front-end.

We receive orders on Excel spreadsheets, which my code imports to a SQL Server back-end.

The Excel code then opens an Access front-end which has ODBC links to the SQL tables but also to our accounting package (Sage).  This front-end presents the order details to the user for them to check over.  We use the link to Sage to check the customer's credit rating before completing the order.

The ODBC link to Sage was set-up using a DSN called "SageLink".

The link to Sage sometimes fails - "ODBC error - SageLink failed", but if we keep re-trying it eventually connects.

I have tried to debug this today and found:
- Opening the table directly failed
- Refreshing the link failed
- Trying to recreate the link failed
- When I closed the database and re-opened it worked first-time


Most of the time the SageLink works perfectly, so can anyone suggest what I should do to prevent this failure.

This is driving my users nuts, so any help would be really appreciated.

LJM
SOLUTION
Avatar of bc10
bc10

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of PatHartman
PatHartman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Laurence Martin

ASKER

The problem was fixed by a colleague