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
|
|||
|
|||
Cancel a Form's DB Action
Hi,
I have a case where I don't want to save a record to a table if the user clicks the X in the upper right corner of the form. In the before update event, I set cancel=true and this stops the save action just as I wanted - except I still get this message "You can't save this record at this time" .....click Yes to close DB object I don't want this message. "docmd.setwarnings false" does not suppress the message and I can't seem to trap an error anywhere. How can I prevent this message from being displayed? Thanks - Dave H. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Office 2003 installation problem, log file attached.... | Ryan | Setup, Installing & Configuration | 0 | January 20th, 2005 06:57 PM |
Can I close all open forms? | DBS | General Discussion | 3 | October 7th, 2004 04:35 PM |
Word Forms? | CEVisker | New Users | 4 | June 21st, 2004 01:25 AM |
Forms Check Box not working | DLLower | General Discussion | 2 | June 17th, 2004 09:34 PM |
How to repeat code that is used in all forms | Christine | New Users | 1 | May 20th, 2004 02:18 PM |