If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Delete without Confirm
I have a Form that users can exit without saving the work they have done.
There is already a msgbox I have made asking them to confirm they want to do this, but since I must delete the record they were working on, the Access Confirm Delete box comes up also. Is there any way to stop the Access Confirm Delete box from coming up? Thx in advance! Kris |
#2
|
|||
|
|||
Delete without Confirm
Bracket (that is, place on either side) the Delete command with SetWarnings
commands: DoCmd.SetWarning False 'your delete command DoCmd.SetWarnings True -- --Roger Carlson www.rogersaccesslibrary.com Reply to: Roger dot Carlson at Spectrum-Health dot Org "Kris L." wrote in message ... I have a Form that users can exit without saving the work they have done. There is already a msgbox I have made asking them to confirm they want to do this, but since I must delete the record they were working on, the Access Confirm Delete box comes up also. Is there any way to stop the Access Confirm Delete box from coming up? Thx in advance! Kris |
#3
|
|||
|
|||
Delete without Confirm
Thx a lot! Worked like a charm .
"Roger Carlson" wrote: Bracket (that is, place on either side) the Delete command with SetWarnings commands: DoCmd.SetWarning False 'your delete command DoCmd.SetWarnings True -- --Roger Carlson www.rogersaccesslibrary.com Reply to: Roger dot Carlson at Spectrum-Health dot Org "Kris L." wrote in message ... I have a Form that users can exit without saving the work they have done. There is already a msgbox I have made asking them to confirm they want to do this, but since I must delete the record they were working on, the Access Confirm Delete box comes up also. Is there any way to stop the Access Confirm Delete box from coming up? Thx in advance! Kris |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DELETE: What's wrong with this? | Dave | Running & Setting Up Queries | 6 | June 14th, 2004 03:01 AM |
Delete order | chase | General Discussion | 1 | June 7th, 2004 04:11 PM |
Delete - confirmation required | Elfie | General Discussion | 2 | May 21st, 2004 05:51 PM |
Excel formula that will delete a row | Bill | Worksheet Functions | 5 | April 29th, 2004 10:21 PM |