Function LSqlTableModel::fieldIndex() corrected to work properly with lookup-fields. Convenience function LSqlTableModel::rowByValue() added.