This is urgent and driving me crazy. The following code
SELECT (m.zsavesele1)
SCANFOR &ztransfld. = &zourfield.
IFFILE("sprs\" + m.zscrname + ".spr")
DO deleteothers IN (m.zscrname + ".spr")
ENDIFSELECT (m.zsavesele1)
DELETEENDSCAN
The IF FILE() works on a PIII 550 W2K Machine and fails on a 486 12MB RAM W98 machine. I tried relative path as specified above as well as IF FILE(m.zscrname + ".spr") but none of them work on the W98 machine
Regards Bhavbhuti ___________________________________________ Softwares for Indian Businesses at: http://venussoftop.tripod.com ___________________________________________ venussoftop@gmail.com ___________________________________________