{ "header": { "version": 1, "type": "record" }, "body": { "record1": { "<1>": "declare function msg, send_event, admin_user\r\ndeclare subroutine end_dialog\r\n$insert msg_equates\r\n\r\n\r\nif Admin_user( @user4 ) then \r\n\topen 'CONFIG' to ConfigTable else\r\n\t Void = msg( '', 'Unable to open CONFIG table' )\r\n\t end_dialog( @window, '' )\r\n\t return 0\r\n\tend\r\n\tlock ConfigTable, 'PRINT_HELP_CONFIG' else\r\n\t Void = msg( '', 'PRINT_HELP_CONFIG is in use somewhere else...' )\r\n\t end_dialog( @window, '' )\r\n\t return 0\r\n\tend\r\n\tread PrintHelpConfig from ConfigTable, 'PRINT_HELP_CONFIG' then\r\n\t if PrintHelpConfig then\r\n\t .print_help_cfg->array = field( PrintHelpConfig, @fm, 1, 8 )\r\n\t end\r\n\t .bmp_path->text = PrintHelpConfig<9>\r\n\tend\r\nend else\r\n Message = 'You do not have the proper security to modify print help configuration...' \r\n Message = 'H'\r\n Void = msg( '', Message )\r\n Void = send_event( @window, 'CLOSE' )\r\nend\r\nRETURN 0" } } }