Results 1 to 3 of 3
  1. #1
    oakoen is offline Novice
    Windows Vista Access 2007
    Join Date
    Aug 2009
    Posts
    15

    Up datequery question

    Is there a way to run an update query unprompted.
    I have a form that runs an update query onclose and I do not want the "are you sure" prompts to appear.

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    You need to toggle the following

    DoCmd.SetWarnings True/False either side of the query execute.

    David

  3. #3
    oakoen is offline Novice
    Windows Vista Access 2007
    Join Date
    Aug 2009
    Posts
    15
    Thanks dcrake

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums