Changed update row to remove xrow before adding updated row (with same ID). Added code to find the right result element to update.  Moved (and renamed) get_phantom_row to make_phantom_row because it is used with table-type procedures.
Changed update row to remove xrow before adding updated row (with same ID). Added code to find the right result element to update.  Moved (and renamed) get_phantom_row to make_phantom_row because it is used with table-type procedures.

cjungmann/schemafw,cjungmann/schemafw,cjungmann/schemafw,cjungmann/schemafw,cjungmann/schemafw