11 lines
1.1 KiB
JSON
11 lines
1.1 KiB
JSON
{
|
|
"header": {
|
|
"version": 1,
|
|
"type": "record"
|
|
},
|
|
"body": {
|
|
"record1": {
|
|
"<1>": "declare function get_property, rowexists, msg, dialog_box, NextKey\r\nDECLARE SUBROUTINE obj_AppWindow\r\n\r\n$insert msg_equates\r\n\r\nRdsNo = .rds_no->text\r\nif RdsNo then\r\n if rowexists( 'RDS', RdsNo ) then\r\n Qbf = get_property( @window, 'QBFLIST' )\r\n if Qbf then\r\n convert @fm to @vm in Qbf\r\n end else\r\n Qbf = ''\r\n end\r\n \r\n NoteID = NextKey('NOTES')\r\n obj_AppWindow('ViewRelated','NOTE_MESSAGE':@RM:NoteID:@RM:'RDS':@FM:RdsNo)\r\n \r\n end else\r\n MsgInfo = ''\r\n MsgInfo<mtext$> = 'You must save this run data sheet first...' \r\n MsgInfo<micon$> = 'H'\r\n Void = msg( '', MsgInfo )\r\n end\r\nend else\r\n MsgInfo = ''\r\n MsgInfo<mtext$> = 'You must have a run data sheet present...' \r\n MsgInfo<micon$> = 'H'\r\n Void = msg( '', MsgInfo )\r\nend\r\n\r\nRETURN 0"
|
|
}
|
|
}
|
|
} |