>>>Hi all,
>>>
>>>I am getting this error message when this line is run.
>>>
>>>
>>>Guid SpecificationPK = (Guid)this.GetPrimaryKeyValue(row);
>>>
>>>// Search for the updated row in the original rows
>>>DataRow[] FoundRows =
>>> dsOriginalSpecifications.Tables[this.ElementSpecificationsTable].Select(this.SpecificationFKField +
>>> " = " + SpecificationPK);
>>>
>>>
>>>Something about the way this parses has a problem but I am not sure what it is. Anybody got a clue or how to form this to prevent it?
>>>Thanks
>>>Tim
>>>Update: it is the second line that causes the problem.
>>
>>This part
>>
>>Select(this.SpecificationFKField +
>> " = " + SpecificationPK);
>>
>>is not clear to me. What exactly you're doing here? Is PK a character field? If yes, you may want to use single quotes.
>
>It would translate to this:
>
>dsOriginalSpecifications.Tables["ElementSpecifications"].Select("cSpecification_cid = 'guid in here' ")
>
>But Naomi, that might be what I am looking for. The SpecificationPK translates to a guid and there probably needs to be single quotes around it. I will check that
>Tim
Yep, that did it; now onto the next error in this same batch. Thanks
Timothy Bryan