When pushing the begin test button I get the Append warning which doesn't seem to happen during the class. I'm guessing I need to put in a set warnings code in here somewhere just not sure where
Kevin Robertson
@Reply 4 years ago
The reason you don't see the warnings in class is because Richard has them turned off.
Put the Set Warning before and after the RunSQL command:
DoCmd.SetWarnings False
DoCmd.RunSQL S
DoCmd.SetWarnings True
Fred YarchoOP
@Reply 4 years ago
Thanks Kevin
That's what I figured I needed just wanted to make sure I put them in the correct spot
Thanks Again
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Developer 10.