Illegal record locking (ERR=187) The program contains an ALLOW or REGARDLESS clause on a GET statement and the file was not opened with the UNLOCK EXPLICIT clause. Either remove the ALLOW clause from the GET statement or use the EXPLICIT UNLOCK clause in the OPEN statement. This error cannot be trapped with a BASIC error handler.