How old is your duckling? What is its normal food? Are you giving it any extra niacin? It likely needs more niacin. For a duck that is struggling to stand you may need to add liquid B complex. I know some recommend giving the duck orally from an injectable sold for cattle. Hopefully someone with the details responds soon. Other wise look for post from @Miss Lydia about niacin deficiency.