Monday, March 30, 2015

Dexterity template - Handle Changes

local integer ask;

{1000 "Do you want to save changes?"  2  Save  4 Discard  1 Cancel}
case ask(getmsg(1000),getmsg(2),getmsg(4),getmsg(1))
in [ASKBUTTON1]
'Handle Changes' = Save(table RecordTable) of form RecordForm;
in [ASKBUTTON2]
release table RecordTable;
'Handle Changes' = true;
else
'Handle Changes' = false;
end case;

No comments:

Post a Comment

There was an error in this gadget