Creating a 'CANCEL' button in Forms 5.0

From: <dhancock_at_voicenet.com>
Date: Tue, 20 Apr 1999 13:38:07 GMT
Message-ID: <7fhvvv$ja6$1_at_nnrp1.dejanews.com>



[Quoted] I would like to have a 'cancel' button right next to my 'save' button on a forms 5.0 application.

The save button will:
DO_KEY(COMMIT_FORM); I want the cancel button to rollback all changes to the last commit by that users. The problem is I don't know what code to place there...it seems if I use a SQL rollback that it clears the form...I guess this is because the button is associated with an anonymous datablock.

Any help would be greatly appreciated,

Also does anyone know of any forms templates that are around which may already have navigation and form control built-in....I would like to roll-out some templates to my team, but would like to get some ideas first.

Thanks in advance...please help,
Dennis

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Tue Apr 20 1999 - 15:38:07 CEST

Original text of this message