• Confirm Action Queries (Access 97)

    Author
    Topic
    #406307

    I have a cmd button in a database that set to run 4 action queries. Some of the persons using this database only have a runtime version of Access, and I cannot get to the Options Box on the Tools menu to turn off the “Confirm Action Queries”. Is there some sort of code that I can add to stop the confirmation messages.

    Viewing 2 reply threads
    Author
    Replies
    • #841577

      Use the DoCmd Setwarnings command

    • #841579

      Use the DoCmd Setwarnings command

    • #841583

      One possibility is to insert DoCmd.SetWarnings False before, and DoCmd.SetWarnings True after the instructions that execute the action queries. Another possibility is to use

      CurrentDb.Execute “QueryName”

      This DAO method does not prompt for confirmation.

    Viewing 2 reply threads
    Reply To: Confirm Action Queries (Access 97)

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

    Your information: