{ "header": { "version": 1, "type": "record" }, "body": { "record1": { "<1>": "declare function sched_rpt1, send_event, msg\r\ndeclare subroutine end_dialog\r\n$insert msg_equates\r\n\r\nCusts = .customer_info->array<1>\r\nswap @vm:@vm with '' in custs\r\nif Custs[-1,1] = @vm then custs[-1,1] = ''\r\nIssueDateFrom = .issue_date_from->text\r\nIssueDateThru = .issue_date_thru->text\r\n\r\n* CAR status variables\r\nOpen = .open_check->check\r\nFormComplete = .form_complete_check->check\r\nCARInplace = .car_inplace_check->check\r\nVerified = .verified_check->check\r\n* end of inquiry status variables\r\n\r\nif IssueDateFrom or IssueDateThru then\r\n\tDirToPrint = .send_to_printer->text\r\n\tRetVal = Custs:'*':IssueDateFrom:'*':IssueDateThru:'*':Open:'*':FormComplete:'*':CARInplace:'*':Verified:'*':DirToPrint\r\n\tend_dialog( @window, RetVal )\r\nend else\r\n MsgInfo = ''\r\n MsgInfo = 'You must have a from date or a thru date.'\r\n MsgInfo = '!'\r\n Void = msg( '', MsgInfo )\r\nend\r\nreturn 0\r\n" } } }