The effect of two different approaches to the environment potential on structural, screening and lattice dynamical properties of ionic crystals is calculated using a microscopic model recently proposed. One approach is the conventional Madelung procedure for the potential depth and the other is based on the minimization of the total energy of the crystal. Results are presented for the typical ionic crystals NaCl and MgO.