Hi,
I have a SQL Anywhere 17 database with a lot of tables whit a "uniqueidentifier" as primairy key, with de default value newid(). In the the datawindow I set in the Update properties the "Identity Column" to the PK column.
When I insert a row in the datawindow (in Painter and in the program) and fill all the columns and press Update, the PK value is filled by a "0", not the Guid that is generated by the database.
How should I fix that problem?
When I retrieve the row first after the Insert then it works, but that is not how it shouls work and gives a lot off hassle.
Kind Regards
Hans
I removed the column GUID from the update but that did not work.
And I need the new GUID value for the child datawindows, if I insert row in the child datawindows I want to set the parent_id.
It seems to be a bug. I will create a ticket at Appeon.
Thanks for help.