Hi @all,
I am developing an eshop app in mobile web.
And here I have created the CategoryDetail screen and its attibutes.
I wants the code attribute to be auto increament.
Database is in local storage.
I have attached the .oml but its not working .
See the CategoryDetail screen.
Please do guide me.
Hi,
I think Is AutoNumber just for server entity only except identifier.
So in my opinions, we can update the Code datatype to Integer. Then Add a client action to get New Code by adding 1 (or whatever number) to the last Code value.
I updated your .oml as well.
Cheers,
Khuong
Hello,
I think that in the database when defining the attribute you have to put the 'Is Auto Number'.
Regards,
Jorge Rodrigues
Thanks Khuong,it works
Hi
You either change the column of the table as per the instructions given above or always insert the numeric value in that column then take its max and always insert it plus 1 in it.
Thanks