47
Views
4
Comments
Solved
Input value and save it in a new row. How?
Question

Hi,

I have 2 inputs.

How can I write something there and save it to a new row inside a table?

I already have a CRUD 

and here button action:

Thank you in advance.

Kind regards,

Pedro Boffa

2018-10-29 08-31-03
João Marques
 
MVP
Solution

You want to add a new row?

In that case, you should create a variable of type Usuario and assign the inputs to Usuario.Nome, Usuario.Senha and so on.

And the Usuario variable should be your input parameter of your Save action.


Kind Regards,
João

2018-10-29 08-31-03
João Marques
 
MVP

Hi Pedro,


You are writing to the database the GetUser.List.Current.Usuario, since it is the input of your CRUD action.

Your inputs should binded then to this variable.

Make sure the variables of your inputs are GetUser.List.Current.Usuario.Nome and GetUser.List.Current.Senha (adjust the name of the attributes to your use case).


Kind Regards,
João

2022-01-25 15-06-08
Pedro Boffa

Hi @João Marques,

Thank you for your answer.

I already did like that before but its not saving the information i put inside the input in a new row and it is changing one of the existing ones.

Kind regards,

Pedro Boffa

2018-10-29 08-31-03
João Marques
 
MVP
Solution

You want to add a new row?

In that case, you should create a variable of type Usuario and assign the inputs to Usuario.Nome, Usuario.Senha and so on.

And the Usuario variable should be your input parameter of your Save action.


Kind Regards,
João

2022-01-25 15-06-08
Pedro Boffa

I thought I had tried that but didnt.

Now it is working.

thank you very much.

Pedro Boffa

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.