Paste auto-generated data into ADODataset

I am really trying to do an insert on an ADODataset associated with a table with an auto-generated GUID. When I try to get a new identifier for my record, I get zero for the GUID.

+4
source share
1 answer

This is an old question, but if anyone meets him ...

The big advantage of using a GUID is that you don't care where they come from. A value created as part of the default constraint is no better or worse than a correctly generated GUID in a client program.

@ Ravaut123 is true that you should just set the GUID value when pasting into a TADOataSet

-1
source

Source: https://habr.com/ru/post/1435015/


All Articles