Hello All!
Can I use ADSRegCallBack() with ADSCopyTable()?
I need progressbar during copy table operation.
Regards,
AdsCreateIndex
AdsReindex
AdsPackTable
AdsExecuteSQL
AdsExecuteSQLDirect
AdsGotoBookmark
AdsGotoBookmark60
AdsGotoBottom
AdsGetRecordCount
AdsSkip
AdsCopyTable**
AdsCopyTableContents
AdsConvertTable
ADS Callback function is only implemented in the indexing stuff, not
other ADS function uses the Callback functions since they are not
"callback" aware.
xHarbour's RDD_ADS function named AdsRegCallBack implements on Windows
the ADS function named AdsRegisterProgressCallback(..) , which works only
with INDEX and REINDEX and is considered obsolete starting with ADS 8.1
...
ADSRegCallBack({|nPercent| uProgressCallBack( nPercent ) })
....
lCopyOK := (cAlias)>( AdsCopyTable( "TempFile", ADS_RESPECTFILTERS ) )
....
ADSClrCallBack()
....
FUNCTION uProgressCallBack( nPercent )
oRep_Gauge:SetPos( nPercent )
RETURN( .F. )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 64 guests