Page 1 of 1

Can we work with ADS

Posted: Thu Jan 07, 2010 5:09 pm
by sudip
Hello All,

My friend Bapu (yes, my number of friends are increasing day by day :) ) asked me
One more question. How to use Advantage Database Server with HMG official.
I don't know the answer. (As it's not an open source product and only local server of ADS is free, I didn't show my varied ;) interest on it.) Can anybody help me so that I can tell Bapu about it :)

Thanks in advance.

With best regards.

Sudip

Re: Can we work with ADS

Posted: Thu Jan 07, 2010 6:12 pm
by martingz
Is very easy, only have to conecct to server

SET SERVER REMOTE
SET FILETYPE TO CDX

if AdsConnect60("server", 2, "user", "password")
MsgInfo( "Can't vconecct to the serverr" + CRLF+ "Error:"+str( AdsGetLastError() ), "usuario" )
PostQuitMessage(0)
QUIT
else
select 1
use familia index familia shared alias familia
endif

you can use all command and functions to manage your data as always and you cant use ADS functions to create databases, users and sql sentences

if you want a more information this is my emali
martin_gz2001@yahoo.com

And sorry by my bad english

Re: Can we work with ADS

Posted: Thu Jan 07, 2010 6:26 pm
by sudip
Hello Martingz,
Thanks a lot :)
With best regards.
Sudip

Re: Can we work with ADS

Posted: Thu Jan 07, 2010 7:30 pm
by martingz
i forget, have to make ace32 lib, for the ads version you use