Added getValueInDB(record, dataprovider) to easily get the DB value