I am amending an existing app and have a problem where it is possible for the user to get into the "New Record" screen, then decide not to continue and navigate back, however referential integrity rules kick in and the user gets a message saying a value is required and the user can't navigate back until a valid record is entered. The new record is generated by
DoCmd.GoToRecord , , acNewRec
there is no money available for extensive re-working so that the Insert would be controlled via code/SQL etc, so does anyone have an answer as to how to cancel out of the new record via an event or simple code?
TIA
John
DoCmd.GoToRecord , , acNewRec
there is no money available for extensive re-working so that the Insert would be controlled via code/SQL etc, so does anyone have an answer as to how to cancel out of the new record via an event or simple code?
TIA
John