[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== System Crash (OpenInsight Specific) ==== === At 28 MAY 1998 03:53:42AM Colin Rule (CSSP) wrote: === {{tag>"OpenInsight Specific"}} Locking a record in a file where the record id is not a defined variable causes the system to crash. Obviously easy to resolve, but perhaps should be fixed for future releases. OPEN "FILE" TO FILE THEN LOCK FILE,ID ELSE NULL END RETURN 0 ---- === At 29 MAY 1998 11:02AM Cameron Revelation wrote: === Colin, [i]Locking a record in a file where the record id is not a defined variable causes the system to crash.[/i] In which version? I believe this was fixed in 3.6. The problem was that the ensurestring() call against the parameter was coming from LH.DLL back into the engine so the debugger was being invoked from outside the engine, which it wasn't designed for. Cameron Purdy info@revelation.com [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=7071DF04D00556CF85256612002B5E74|View this thread on the forum...]]