Currently in Uniface, I have found a way to use fields with an IDENTITY declaration in SQL Server. However, it is not functioning correctly due to the loss of data modeling. I am unable to set an ID as the primary key, so I have to maneuver in order to make both a query and a store work within the same service.
The way I am using an IDENTITY is as I mentioned before, by setting another field as the primary key and leaving the fieldlist of the entity in the service empty or without the field that has the IDENTITY, in this case, the ID field. The issue with this, aside from the data modeling problem, is that when I perform a RETRIEVE, the ID field is not returned if I use a putlistitems, for example. I have to manually call it to include it in my list.
Do you have any ideas or suggestions to address this situation?
------------------------------
Miguel Ángel Vásquez García
Desarrollador
Self Registered
Itagui CO
------------------------------



