Upvote 2

Add new data master row with an incremental id number.

Answered Victor Conesa 8 years ago

I want to add an entry into a data master, and assign the column "id" by an increment of 1. For example, when a new user is created, we give him user id of last user + 1

Replies (8)
photo
2

currently, the method i'm using is for datamaster "users" new[id=[data_max[users,id] + 1], ...]

photo
1

Hi Kent,


Please find attached the example I've created for you. I hope it helps.


https://www.dropbox.com/s/u922pycmp0l...


Best,


Sonia Durán

photo
1

Hi Sonia, thanks for the reply. I think I'm doing the same thing. Does the data save between sessions?

photo
1

Hi Kent,


No, the data is not being saved between sessions.


Best,


Sonia Durán

photo
2

Is it possible to save data to master permanently?

photo
1

Or for example, in a mobile template, have all data displayed somewhere (preferably on the side somewhere) for debugging purposes.

photo
1

Hi Kent,


Unfortunately we do not have any interface for debugging purposes. As a workaround, you can create set value events associated to any element and display it into a label.


Thank you for your suggestion.


Best,


Sonia Duran

photo
1

Hi Kent,


The data of the data master are the ones that have been kept inside to it.


Best,


Sonia Duran

Leave a Comment
 
Attach a file