LOCAL oError TRY dl_ErrorMessage( thisform.inventory_file_biz.error_message_text, "Failed to create BIZ object for table "PARTS", "Class: PARTS_FILE", "Method: INIT", "Place: 001 " ) CATCH TO oError *-- Log error =Error_Lost_Connection( "parts.init()", "Spare Parts Window", "dl_ErrorMessage()", oError.message ) ENDTRY *-- DO NOT OPEN the form RETURN .F.The error log shows two entries, about 3 seconds apart:
27/05/2021 10:19:45 AM parts_File.init(). Failed to call dl_ErrorMessage() Error: Error reading file c:\users\dmitry\appdata\local\temp\wofuncts.fxp. 27/05/2021 10:19:48 AM parts.init(). Failed to call dl_ErrorMessage() Error: Cannot redefine THIS.Why would you think that 3 seconds after the 1st error the second one shows the error "Cannot redefine THIS."?