After I removed ADS Local server (7.1) and it associated files and then install ADS Local server (8.1)... I encountered this strange problem...
here's the code...
Code: Select all
hADS := 0
cCurrentRDD := 'ADS'
lADSServer_OK := ADSConnect60( aIni[ cDATABASEPATH ], aIni[ nCONNECTTYPES ], 'user', '***')
If lADSServer_OK
hADS := AdsGetConnectionHandle()
Request ADS
rddRegister( cCurrentRDD, 1 )
rddsetdefault( cCurrentRDD )
Extern ADSKeyNo
Extern ADSKeyCount
Extern ADSSetRelKeyPos
Extern ADSGetRelKeyPos
AdsSetFileType( ADS_CDX )
AdsSetCharType("OEM")
AdsLocking( .T. )
AdsSetDateFormat( "MM.DD.YYYY" )
AdsSetEpoch( 1930 )
AdsSetDeleted( .F. )
//
DBSelectArea( 1 )
dbUseArea(.T., cCurrentRDD, 'RESPON', 'RE', .T., .F.)
IF !NetErr()
RE->( OrdSetFocus('RespNam') )
ELSE
cTableErrors += 'RESPON Table ' + CRLF
END
//
Code: Select all
RE->( dbEval( {|| AAdd( aListBox_RESPONSIBILITY, {RE->RESPCOD,RE->RESPNAM} ) } ))
dbEval >> DOES NOT WORK WITH 8.1 ....Apps closes without any message even within begin..sequence construct..
Code: Select all
MsgInfo(RE->RESPNAM)
Any pointer?
Regards,