We live in a connected world, but the reality is... wifi / cellular connectivity is not always available. If I have an application that is running only on an iPad.. I may still want to programmatically capture the userId that created / manipulated the data for audit purposes. Then, when the user is connected to the internet.. the application would also contain logic to post the created / updated data into the cloud database.
This also suggests that the solution "might" have to store the user credentials locally so the last logged on user can log on if not connected to the internet.
There is an automated record value to store the user that created the record ( _cu ) and last modified the record ( _mu ).
@Birget, it auotmagically flips it to 'Created by'.. when I save t._cu ... and it returns a value of User.. not my user.... Hmm..
oops.. sorry .. @Birger.. :(
'Created by' means the the same as
_cu (create user) it is only the automatic translation of Ninox, but will do the same. ;)
I see that.. but the question still remains.. it returns "User" when running a local / iCloud database using the Mac App or the iPad. It should return the user that created the row.
That is because in the local databases there ar no other users than yourself and the function 'Created by' is not available. If you work in a Ninox Cloud team the function works also in the Ninox App for Mac and iPad.