fixed the setting of form values when editing a previous record set