IF NOT USED('CPRIME') USE CALLLOG AGAIN IN 0 ALIAS CPRIME ORDER TAG CALLPRIME DESCENDING ENDIFIts been working for months but has suddenly decided not to co-operate and falls over with the complaint that the file is in use. I already knew that dammit! Thats why I used "again".