Delphi 7 SDAC 4.80

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Janner
Posts: 4
Joined: Mon 25 Jan 2010 23:31

Delphi 7 SDAC 4.80

Post by Janner » Tue 26 Jan 2010 13:52

Hi,
I am using Delphi 7 and the latest SDAC version. I have converted several of my tables to use uniqueidentifier primary keys populated with defaults using newid(). My issue is that when I insert a record the GUID isn't available until I call a full refresh of the dataset.

I have tried calling refreshrecord, setting roafterinsert etc but these raise errors as it can't find the record because it doesn't know the GUID.

Any ideas?

Thanks

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 27 Jan 2010 09:06

This problem was discussed on SDAC forum. Please view the following topic:
http://www.devart.com/forums/viewtopic.php?t=13798

Post Reply