Files
harbour-core/contrib/rddads
Mindaugas Kavaliauskas e0b93c7cac 2013-04-24 16:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddads/ads1.c
    + run error on invalid SQL query, ex.,
      DBUSEAREA(,, "SELECT * FOM syntax_error")
    * changed ADS error description to be much more informative
2013-04-24 16:17:05 +03:00
..

RDD for Advantage Database Server
Alexander Kresin <alex@belacy.belgorod.su>


For using this RDD you need to have all required dynamic libraries
installed on your system.

For building executables don't forget to include rddads.hbc in your
hbmk2 project.

You need to include in your prg file the following lines:

   REQUEST ADS

and then you can set default RDD using one of the following functions:

   rddSetDefault( "ADT" )
   rddSetDefault( "ADSNTX" )
   rddSetDefault( "ADSCDX" )
   rddSetDefault( "ADSVFP" )

You can also use:

   REQUEST ADT | ADSNTX | ADSCDX | ADSVFP

instead of REQUEST ADS.

for backward compatibility with old code it's possible to use also:
   rddSetDefault( "ADS" )
and then
   #include "ads.ch"
   SET FILETYPE TO NTX | CDX | ADT | VFP
command or AdsSetFileType() function to set table type (default is CDX)

By default RDD is tuned for remote server. To change this you may
use commands, defined in ads.ch:

  SET SERVER LOCAL

or function AdsSetServerType().