From: iDesmet on
> oops - sorry, I meant AdsShowError("Title") from the ACE API.
>
> --
> Joachim Dürr
> Sybase iAnywhere
> AdvantageSupport[at]ianywhere.com

Joachim,

Thank you so much for your help, now it works!

I've added the following before AX_SetConnectionHandle(hConnect)

IF nAdsError<>0
AdsShowError(NULL_PSZ)
RETURN NIL
ENDIF

Thanks again!

Best Regards,
David Desmet

From: iDesmet on
Joachim,

Sorry but still doesn't work. I've made a mistake, didn't remember
that I've changed the "adt.ini" file to use the AXDBFCDX.RDD driver.

If I change it to use the "ADSADT.RDD" driver I get the same error.

Hope that you can still help me with this problem. Thanks in advance.

Best Regards,
David Desmet

From: Joachim Duerr on
iDesmet schrieb in
<1174774920.548754.145190(a)l77g2000hsb.googlegroups.com>:

> Sorry but still doesn't work. I've made a mistake, didn't remember
> that I've changed the "adt.ini" file to use the AXDBFCDX.RDD driver.
>
> If I change it to use the "ADSADT.RDD" driver I get the same error.
>
> Hope that you can still help me with this problem. Thanks in advance.

well, I don't know the details of Marcus' classes. I just showed one
example in the code where you can get such an error, there might be
others. I'd suggest to check for return codes in every single API call.

--
Joachim D�rr
Sybase iAnywhere
AdvantageSupport[at]ianywhere.com
From: iDesmet on
On Mar 26, 2:43 am, "Joachim Duerr" <jojo.du...(a)gmx.de> wrote:
> iDesmet schrieb in
> <1174774920.548754.145...(a)l77g2000hsb.googlegroups.com>:
>
> > Sorry but still doesn't work. I've made a mistake, didn't remember
> > that I've changed the "adt.ini" file to use the AXDBFCDX.RDD driver.
>
> > If I change it to use the "ADSADT.RDD" driver I get the same error.
>
> > Hope that you can still help me with this problem. Thanks in advance.
>
> well, I don't know the details of Marcus' classes. I just showed one
> example in the code where you can get such an error, there might be
> others. I'd suggest to check for return codes in every single API call.
>
> --
> Joachim Dürr
> Sybase iAnywhere
> AdvantageSupport[at]ianywhere.com

Joachim,

No problem, I'll do what you suggested me. Btw, do you know why I
can't open a database file with "ADT" extension in the DB Server
Editor when I choose the ADSADT Driver; it only let me choose database
files with DBF extension... :-(

Best Regards,
David Desmet

From: Stephen Quinn on
David

>>
Btw, do you know why I
can't open a database file with "ADT" extension in the DB Server
Editor when I choose the ADSADT Driver; it only let me choose database
files with DBF extension... :-(
<<<

Probably because it's hardcoded into the DBEditor source.

--
CYA
Steve