<INPUT TYPE=BUTTON NAME="Cancel" VALUE="Cancel" onClick="CancelChanges"> . . . Sub CancelChanges ADC1.CancelUpdate End Sub