Problem saving a record in a replicated table.


Author
Message
Aaron Young
Aaron Young
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Hi,

I have a SQL Server 2005 replicated database. Each table has a ROWGUID as required by SQL Server and this is present in the DDT and the business object. I can add and delete records correctly but when I try and edit and save an existing record I get an error saying that the ROWGUID field cannot be updated.  My update is not modifying the ROWGUID but it looks like the BO attempts to update the record with all field values - including the ROWGUID. The ROWGUID cant be updated under replication so I need to find a way of stopping the ROWGUID being updated during the edit and save operation.

Is there anyway to exclude the ROWGUID field when editing and saving?

Thanks in advance,

Aaron

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search