<SCRIPT language=javascript for=CancelButton event=onclick>
try { if (MSODSC.DataPages.Count > 0)
if (MSODSC.CurrentSection == null)
MSODSC.DataPages(0).Undo();
else
MSODSC.CurrentSection.DataPage.Undo(); }
catch (e)
{ alert (e.description);}
</SCRIPT>
But I would like the button not only to undo the record changes, but also to
close the browser window. Please, give me a sample script.
Thanks in advance for any help!