Can a line be sectioned?

Hi

I need to changes parts of a solid line to dashed. Is there a way to do this without having to draw the solid and dashed sections separately?

Brian