{ "header": { "version": 1, "type": "record" }, "body": { "record1": { "<1>": "declare function msg\r\ndeclare subroutine end_dialog\r\n\r\nopen 'CONFIG' to ConfigTable else\r\n Void = msg( '', 'Unable to open CONFIG table' )\r\n end_dialog( @window, '' )\r\n return 0\r\nend\r\nReportID = Trim(.report_id->text)\r\nIf ReportID Then\r\n unlock ConfigTable, ReportID else\r\n Void = msg( '', 'Unable to unlock ':ReportID:' in CONFIG table' )\r\n end\r\nend\r\nend_dialog( @window, '' )\r\n \r\nRETURN 0" } } }