• Close a Form Without Saving the Data (Access 2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Close a Form Without Saving the Data (Access 2003)

    Author
    Topic
    #412525

    Hello,

    I am developing a small application with access, and I need to give the user the opportunity to close a form without saving any of the data that they may have already input.

    I tried the DoCmd.Close command, but it saves the data.

    Any Suggestions.

    Viewing 1 reply thread
    Author
    Replies
    • #902924

      Access saves the data automatically. How do you intend to determine whether they want to save the data or not when they close the form? A Me.Undo if the form is dirty will roll back the entry, but you would first need to ask the user if he wants to save the data.

    • #902925

      Access saves the data automatically. How do you intend to determine whether they want to save the data or not when they close the form? A Me.Undo if the form is dirty will roll back the entry, but you would first need to ask the user if he wants to save the data.

    Viewing 1 reply thread
    Reply To: Close a Form Without Saving the Data (Access 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: