Re: MS Access to Sybase ODBC connectivity problem
- From: "Mary Chipman [MSFT]" <mchip@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 04 Jan 2006 20:42:01 -0500
Managing DSNs from an Access app is always a PITA. Your best bet is
not to use a DSN at all. You can write code to link TableDef and
QueryDef objects dynamically, supplying the correct connection string
at runtime.
--Mary
On Tue, 3 Jan 2006 14:57:02 -0800, "SashaB11"
<SashaB11@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>I am trying to connect to a Sybase database from an MS Access db.
>
>The only way it works is if I use System DSN.
>
>Using File DSN or spelling the connection strings out in the linked tables
>or pass-through queries results in the following error:
>
>"Reserved error (-7778); there is no message for this error"
>
>I am using the following connection string:
>
>"ODBC;Driver={SYBASE ASE ODBC
>Driver};Srvr=ServerName;DB=DB_Name;Uid=MyUserID;Pwd=password;"
>
>Thanks!!!
.
- Prev by Date: Re: Linked Table w/ >255 fields problem
- Next by Date: Re: Accessing record by record
- Previous by thread: Linked Table w/ >255 fields problem
- Next by thread: Re: Accessing record by record
- Index(es):
Relevant Pages
|
|