* harbour/include/hbapifs.h
* harbour/source/rtl/filebuf.c
+ added hb_fileRename()
* harbour/contrib/hbnetio/netio.h
* harbour/contrib/hbnetio/netiocli.c
* harbour/contrib/hbnetio/netiosrv.c
+ implemented Rename method in NETIO
* harbour/include/hbapirdd.h
* harbour/source/rdd/workarea.c
+ added new non workarea method: RENAME()
* harbour/source/rdd/Makefile
* harbour/include/hbextern.ch
* harbour/source/rdd/dbcmd.c
+ harbour/source/rdd/dbrename.c
+ added new .prg function:
dbRename( <cTable> [,<cIndex>], <cNewName>, ;
[<cRDD>], [<nConnect>] ) -> <lOK>
+ added hb_dbRename() - synonym of dbRename()
* harbour/source/rdd/dbf1.c
+ added support for dbRename() in DBF* RDDs
* harbour/include/hbrdddbf.h
* harbour/include/hbrddcdx.h
* harbour/include/hbrddfpt.h
* harbour/include/hbrddntx.h
* harbour/source/rdd/dbffpt/dbffpt1.c
* harbour/source/rdd/dbfntx/dbfntx1.c
* harbour/source/rdd/dbfnsx/dbfnsx1.c
* harbour/source/rdd/dbfcdx/dbfcdx1.c
* harbour/source/rdd/sdf1.c
* harbour/source/rdd/delim1.c
* harbour/include/hbusrrdd.ch
* harbour/source/rdd/usrrdd/usrrdd.c
* harbour/contrib/rddads/adsx.c
* harbour/contrib/rddads/ads1.c
* harbour/contrib/rddsql/sqlbase.c
* harbour/contrib/rddsql/sqlmix.c
* harbour/contrib/hbbmcdx/bmdbfcdx.c
* harbour/contrib/hbbmcdx/hbbmcdx.h
+ updated to compile with new RDD method: RENAME
TODO: add support for this method to ADS* RDDs
/*
* $Id$
*/
RDD for Advantage Database Server
Alexander Kresin <alex@belacy.belgorod.su>
For using this RDD you need to have:
ace32.dll ( Advantage Client Engine ),
axcws32.dll ( communication layer for remote server ) or
adsloc32.dll ( local server )
You need also to create ace32.lib with the help of implib.exe:
implib ace32.lib ace32.dll
For building executables don't forget to include the ace32.lib and
rddads.lib to the make file or link script.
You need also to include to your prg file 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
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().