Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How can I connect to a database remote !!

2 posts in OLEDB Last posting was on 2010-05-11 14:32:49.0Z
Hugo Glez. Macias Posted on 2010-05-11 01:50:54.0Z
From: "Hugo Glez. Macias" <gomh7172@hotmail.com>
Newsgroups: Advantage.OLEDB
Subject: How can I connect to a database remote !!
Date: Mon, 10 May 2010 20:50:54 -0500
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: 187.146.183.4
Message-ID: <4be8b76a@solutions.advantagedatabase.com>
X-Trace: 10 May 2010 19:48:26 -0700, 187.146.183.4
Path: solutions.advantagedatabase.com!187.146.183.4
Xref: solutions.advantagedatabase.com Advantage.OLEDB:1348
Article PK: 1133866

Hi,

I need to coonect to a database remote, example:
This is my connection string

DirCliente = "L:\aplica\imss"
connectionString = "Provider=Advantage OLE DB Provider;"+;
"Data Source="+dirCliente+";"+;
"ServerType=ADS_REMOTE_SERVER;"+;
"DbfsUseNulls=TRUE;"+;
"TableType=ADS_CDX;" +;
"LOckMode=ADS_PROPRIETARY_LOCKING;"+;
"SecurityMode=ADS_CHECKRIGHTS;"+;
"CharType=ADS_OEM;"

But now I need to connect to another server, example:
pedgdl.imsslab.net\datafolder

Thank's
Hugo


Mark Wilkins Posted on 2010-05-11 14:32:49.0Z
From: "Mark Wilkins" <mark@no.email>
Newsgroups: Advantage.OLEDB
References: <4be8b76a@solutions.advantagedatabase.com>
Subject: Re: How can I connect to a database remote !!
Date: Tue, 11 May 2010 08:32:49 -0600
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 10.24.38.228
Message-ID: <4be969f9@solutions.advantagedatabase.com>
X-Trace: 11 May 2010 08:30:17 -0700, 10.24.38.228
Path: solutions.advantagedatabase.com!10.24.38.228
Xref: solutions.advantagedatabase.com Advantage.OLEDB:1349
Article PK: 1133867

Answered in Advantage.FoxPro.

"Hugo Glez. Macias" <gomh7172@hotmail.com> wrote in message
news:4be8b76a@solutions.advantagedatabase.com...
> Hi,
>
> I need to coonect to a database remote, example:
> This is my connection string
>
> DirCliente = "L:\aplica\imss"
> connectionString = "Provider=Advantage OLE DB Provider;"+;
> "Data Source="+dirCliente+";"+;
> "ServerType=ADS_REMOTE_SERVER;"+;
> "DbfsUseNulls=TRUE;"+;
> "TableType=ADS_CDX;" +;
> "LOckMode=ADS_PROPRIETARY_LOCKING;"+;
> "SecurityMode=ADS_CHECKRIGHTS;"+;
> "CharType=ADS_OEM;"
>
> But now I need to connect to another server, example:
> pedgdl.imsslab.net\datafolder
>
> Thank's
> Hugo