Populate field values from the database