insertrecord

Insertrecord writes a new record into the database.