D ddrew seasoned user Local time Today, 18:37 Joined Jan 26, 2003 Messages 911 Apr 15, 2009 #1 I have a button that runs an Append Query. I used the code from the wizzard, but I want to suppress the message that you are appending. can someone tell me how to that please, thanks
I have a button that runs an Append Query. I used the code from the wizzard, but I want to suppress the message that you are appending. can someone tell me how to that please, thanks
rainman89 I cant find the any key.. Local time Today, 13:37 Joined Feb 12, 2007 Messages 3,015 Apr 15, 2009 #2 put this in the button click before and after you run the query before- docmd.setwarnings = false after - docmd.setwarnings = true
put this in the button click before and after you run the query before- docmd.setwarnings = false after - docmd.setwarnings = true
D ddrew seasoned user Local time Today, 18:37 Joined Jan 26, 2003 Messages 911 Apr 15, 2009 #3 Its giving me a message Compile erroe: Argument not optional
editolis Panathinaikos Fun Local time Today, 20:37 Joined Oct 17, 2008 Messages 107 Apr 15, 2009 #4 rainman is correct.. before- docmd.setwarnings = false after - docmd.setwarnings = true But you do not put the before - and after - use only this: docmd.setwarnings = false docmd.setwarnings = true
rainman is correct.. before- docmd.setwarnings = false after - docmd.setwarnings = true But you do not put the before - and after - use only this: docmd.setwarnings = false docmd.setwarnings = true
D ddrew seasoned user Local time Today, 18:37 Joined Jan 26, 2003 Messages 911 Apr 15, 2009 #5 Yes I appreciate that! but its giving me a message Compile error: Argument not optional, and then it highlights the setwarnings line
Yes I appreciate that! but its giving me a message Compile error: Argument not optional, and then it highlights the setwarnings line
J JANR Registered User. Local time Today, 19:37 Joined Jan 21, 2009 Messages 1,622 Apr 15, 2009 #6 docmd.setwarnings = false docmd.setwarnings = true Click to expand... Change to: Code: docmd.setwarnings False docmd.setwarnings True aka remove the equalsign JR
docmd.setwarnings = false docmd.setwarnings = true Click to expand... Change to: Code: docmd.setwarnings False docmd.setwarnings True aka remove the equalsign JR
D ddrew seasoned user Local time Today, 18:37 Joined Jan 26, 2003 Messages 911 Apr 15, 2009 #7 Yup just sussed it, thanks
editolis Panathinaikos Fun Local time Today, 20:37 Joined Oct 17, 2008 Messages 107 Apr 15, 2009 #8 Sorry my fault. Use this: docmd.setwarnings false docmd.setwarnings true
rainman89 I cant find the any key.. Local time Today, 13:37 Joined Feb 12, 2007 Messages 3,015 Apr 15, 2009 #9 JANR said: Change to: aka remove the equalsign JR Click to expand... That would do it..