We had very little trouble training our dachshund.
For the first few days we took him outside every few hours. Gave him a treat if he went. He learned pretty quick that that's what he was supposed to do to go potty. Since our back door is out of sight we eventually put a bell on the door for him to ring. To train him for that all we did was ring the bell and say "outside" every time we took him out. He was trained with the bell by the time he was 6 months old. He's pretty smart and he learned if he rang the bell and went outside to go potty he'd get a treat, so he started to ring the bell and go out and pee. Then a few minutes after he came in, he'd ring it again to go out and poop. That way he got 2 treats lol. He's now 11 months old and knows exactly what to do when he wants outside.
You just have to be patient, there will be accidents. Positive reinforcement worked great for us.