Kevin,
>It looks as if you are trying to save a value to an identity column, which is illegal because it's readonly.
>
So how do I stop the framework from trying to do that? What I am trying to do is generate an Agent number when the record gets saved.