Inserting records through the gui