** Set the index of the network table >>SET ORDER TO Id IN Resh >>** grab these values to memvars because they're >>** so much faster than properties. >>LOCAL lnBatchNo, lcUserID >>lnBatchNo = .nBatchNo >>lcUserID = oApp.cUserID >> >>** Loop once for each local record >>SELECT (cAlias) >>SET RELATION TO ID INTO Resh >>GO TOP >>REPLACE ALL ; >> BatchNo WITH m.lnBatchNo, ; >> Used_By WITH m.lcUserID ; >> IN Resh >>