The below sample code has been tested with the current xBuilder beta - in
case of using ADS, the OrdDescend(...) function doesn't work, and it has
never worked.
This happens because the feature of changing dynamically the direction of
stepping throungh an index order is present in ADS starting with version
9.0, and the AdsSetIndexDirection function wrapper ( which implements the
feature ) is not included in adsfunc.c, only in ace32.c, and the
integration with the RDD system is not yet resolved.
Ella
REQUEST ADS
#include "ads.ch"
function main()
RddSetDefault( "ADS" )
AdsSetServerType( ADS_LOCAL_SERVER )
AdsSetFileType( ADS_CDX )
DBUseArea( .f., , "people.dbf", "test", .f., .t. )
OrdSetFocus( "K_NAME" )
? OrdDescend( "K_NAME", "people.cdx", .t. )
? OrdDescend( "K_NAME", "people.cdx" )
wait "..."
DBGotop()
browse()
DBCloseArea()
wait "ok"
return NIL
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers