Here is a link with great housebreaking tips:
Free House Training for Puppies and Adult Dogs - No More Accidents Starting Today!
Age of the pup is important and patience on the owner's part is even more important! Yorkies do happen to be a difficult breed to housebreak, but it is not impossible.