Hi there
I like to store additional data to the current user, so I created a new database entity "UserData" with two attributes "User Identifier" and some date attribute.
Next I created a "save" button which is supposed to create a new entry in UserData with my UserID and the current date. Therefore I created a server-action calling "CreateUserData". But this needs a "UserData" record as input variable. My problem is now: how do I get a data record from local variables like CurrDate()?
Thanks a lot for helping me out!
Andreas
Hi Andreas,
José's answer is right, you should define a UserData type local variable, and assign input parameters to the variable.
Modified oml attached. Please refer to it.
Regards
to create a UserData entity record you need to declare a variable of that data type. Then you should assign each value of the record and finally assign the UserData record to the server action "CreateUserData".
Thanks a lot, José and Tom!
works fine :-)