ms-sql-server identity field with delphi3

I am adding a record to a sql-server table from delphi3. After posting the
record, the identity field is assigned a value, but a copy of the record
with a blank identity field remains in my grid, till I do a refresh. Does
anyone know how to avoid getting both of these records?? - thanks - Simon