Can we work with ADS

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Can we work with ADS

Post 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
With best regards,
Sudip
martingz
Posts: 408
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: Can we work with ADS

Post 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
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Can we work with ADS

Post by sudip »

Hello Martingz,
Thanks a lot :)
With best regards.
Sudip
With best regards,
Sudip
martingz
Posts: 408
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: Can we work with ADS

Post by martingz »

i forget, have to make ace32 lib, for the ads version you use
Post Reply