adAffectCurrent not working



I'm trying variuos ideas I found in here to refresh rows in datasets when
changes occur on other users' machines. One of them involves
dstCusts.Recordset.Resync(adAffectCurrent, adResyncAllValues);
AdoDB is in my uses and that's where I found "adAffectCurrent" but the above
line won't compile. It says "[Error] Custs.pas(2870): Undeclared identifier:
'adAffectCurrent'"

Any suggestions?

Thanks,

Keith


.