Â
Â
I am working with a ESRI file geodatabase.Â
Â
I would like to test if cetain field contains a specific value from a lookup table (in an ideal world this testing would not be required as this would have been mitigated agaist by using domains - however I am where I am!).Â
Â
So essentially I have two tables, first my feature class: Roads_FCÂ
Â
pID],/RoadName],aRoadType]Â
1,High Street, Sealed RoadÂ
2,School Lane, UnsealedÂ
3,Smith Road, Concrete SlabsÂ
4,Jones Street, Sealed RoadÂ
5,Downy Street, TarmacÂ
6,Boris Street, TarmacÂ
Â
My second table is a CSV 'FieldList' constructed as follows:Â
fFeatureClass],pField],rRoadTypeVaL]Â
Roads_FC,RoadType,Concreate SlabsÂ
Roads_FC,RoadType,Sealed RoadÂ
Roads_FC,RoadType,UnsealedÂ
Rivers,RiverType,Main RiverÂ
Rivers,RiverType,Medium RiverÂ
Rivers,RiverType,Small RiverÂ
Â
So I want a test that tells me that items 5 and 6 do not contain a conrrect value from my field list (i.e. "Tarmac" is not a valid value).Â
Â
I can filter 'FieldList' easily using a 2 testers - first to filter by the feature class I am testing, and secondly by the field I am testing.  However I cannot work how to then check if the current row in my Roads Feature classe has one of my filtered values in 'FieldList'.Â
Â
Can anyone help?Â
Â
Regards,Â
Â
KevinÂ
Â