The rare earth magnetic order in pure and doped Ho(1−
x)Er xNi2B2C (x = 0, 0.25, 0.50, 0.75, 1) single crystal samples was investigated using magnetization and neutron diffraction measurements. Superconducting quaternary borocarbides, RNi2B2C where R= Ho, Er , are magnetic intermetallic superconductors with the transition temperatures ∼10 K in which long range magnetic order develops in the same temperature range and competes with superconductivity. Depending on the rare earth composition the coupling between superconductivity and magnetism creates several phases, ranging from a near reentrant superconductor with a mixture of commensurate and incommensurate antiferromagnetism to an incommensurate antiferromagnetic spin modulation with a weak ferromagnetic component. All of these phases coexist with superconductivity. RKKY magnetic interactions are used to describe the magnetic orders in the pure compounds. However, the doping of Er on Ho sites which have two strong magnetic moments with two different easy directions creates new and complicated magnetic modulations with possible local disorder effects. One fascinating effect is the development of an induced magnetic state resembling the pure and doped R2CuO4 cuprate with R = Nd and Pr.