Dogs pee and potty for more than just lack of control or confusion where to go. Oftentimes they pee/potty out of frustration, fear, extreme respect, loneliness, boredom, etc. A good housebreaking program and a busy, happy and challenging life is probably one of the quickest ways to keep a dog from pooping for other than the inability to control himself or lack of knowledge of where to pee.
Obedience training, challenging games, frequent trips outside and loving and play sessions are all key - key - to successful housebreaking for some dogs. Calm, submissive dogs often housebreak easily and don't require a lot out of life. Other dogs require a lot to be happy and pee/potty when they don't get that life. If you have a very active and bright little terrier who loves lots of activity, mental challenges and being on the go all of the time, you'll need to step up his lifestyle to one of more challenge to keep him from feelings and frustrations that can cause "accidents".
__________________ Jeanie and Tibbe One must do the best one can. You may get some marks for a very imperfect answer: you will certainly get none for leaving the question alone. C. S. Lewis |