Hi Frank,
I need to look into the mm code to see how some of this works, but I just tested and you can do this. Just add this third line after the first two
this.EntityList.Clear();
this.EntityList.Add(newEntity);
this.SetCurrentEntity(this.EntityList, 0);
Apparently the EntityList.Clear only clears the list and not the current entity reference. The entity list is cleared. Also the EntityList.Add does indeed add the correct entity to the list, but the entity in the entity reference is not changed. by adding the third line you will add the one and only entity in the entity list to the current entity reference. I just tested it.
Thanks
Tim
>
>Tim,
>
>that hasn't made a difference, I am still seeing the old data on the form, not the new blank record (it should be blank because I haven't copied the data from the original entity yet).
>
>While debugging after doing the EntityList.Clear(), this.Entity still shows the original values and does so even after adding the newpolicyentity.
>
>This is beginning to make my head hurt :(
Timothy Bryan