changed the form to fill the grid if there are record.