I have a table in a MS SQL db that has among others, three columns of type “uniqueidentifier”.
One column is marked as the primary key and has a default value set of “newid()”.
When I try to create a new record for this table from a SC form - the primary key is generated as expected, however, the other two columns are also being created with “newid” values. This is not correct as I am passing the values for those columns into the form app and am expecting the form to use my own values and not self-generated values.
I have even tried to set the default values for the two fields on their settings and code-behind with global variables, but this does not work.
How do I prevent a form from using “newid()” values for fields of type “uniqueidentifier”?
thank you