{ "header": { "version": 1, "type": "record" }, "body": { "record1": { "<1>": "declare subroutine btree.extract, update_index, rlist, end_dialog\r\ndeclare function msg, key_sort, utility, fieldcount, ex_vm_rem\r\n$insert lsl_users_equ\r\n$insert msg_equates\r\n\r\nStartDateFrom = .start_date_from->text\r\nStartDateThru = .start_date_thru->text\r\nReactors = .reactors->array\r\nReactors = ex_vm_rem( Reactors )\r\nServs = .react_servs->array<1>\r\nServs = ex_vm_rem( Servs )\r\nProbs = .react_probs->array<1>\r\nProbs = ex_vm_rem( Probs )\r\n\r\nif StartDateFrom or StartDateThru then\r\n\tDirToPrint = .send_to_printer->text\r\n\tRetVal = StartDateFrom:'*':StartDateThru:'*':Reactors:'*':Probs:'*':Servs:'*':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" } } }