llFound = .F. ltStart = DATETIME () DO WHILE NOT m.llFound AND (DATETIME () - m.ltStart < 10) IF FILE('THEFILE.TXT') PROCESS THE FILE llFound = .T. ELSE WAIT WINDOW "" TIMEOUT 1 ENDIF ENDDO IF NOT m.llFound MESSAGEBOX ABOUT FAILURE ENDIF>Won't this Wait 10 seconds, THEN let me look for the file?