Calcium

Have bad achy legs so the doctor told me to add a calcuim supplement and see if that helps. But we can inly find the kind with added vitamin D. Is that ok? Its after hours so I cant call.