I am working on a little event receiver for a custom list. I noticed that afterproperties for lookup fields only contain the index but NOT the value of the lookup field. This is only the case for
single selection fields. Multiple selection lookup fields will carry all index and value information for all selected fields. This means for multi-selection fields you can use SPFieldLookupValueCollection to iterate and SPFieldLookupValue to access index and
value separately. If you try using SPFieldLookupValue on single-select lookup fields, - because the afterproperty is incomplete - you will receive an error message: Unknown Status Module:
33 Message: 134
The question is: Can this behavior be confirmed and is it limited to the "ItemAdding" event? Thank you very much...
View Complete Post