Hey Guys, i need update a row in a excel file with update function, but when i try to update appears the message "__PowerAppsId__:Campo obrigatório"
Here is my code:
Update( Credential;
First( Filter( Credential; Username = InputUser2.Text) ); {Username: InputUser2.Text; Password: InputNewPassword.Text})
Solved! Go to Solution.
@Anonymous
Sorry - typo!
Patch(Credential; Lookup(Credential; Username = InputUser2.Text); { Username: InputUser2.Text; Password: InputNewPassword.Text } )
@Anonymous
The Update function will update an entire record, and as such, will require all fields be supplied.
You might want to consider changing to the Patch function for this:
Patch(Credential; Lookup(Credential; Username = InputUser2.Text) ); {
Username: InputUser2.Text; Password: InputNewPassword.Text } )
I hope this is helpful for you.
@RandyHayesI try to use your code but appears the message " Unexpected Characters. Characters are used in the formula unexpectedly."
@Anonymous
Sorry - typo!
Patch(Credential; Lookup(Credential; Username = InputUser2.Text); { Username: InputUser2.Text; Password: InputNewPassword.Text } )
@RandyHayesthanks man, its help me a lot.
User | Count |
---|---|
143 | |
142 | |
78 | |
75 | |
72 |
User | Count |
---|---|
228 | |
144 | |
78 | |
62 | |
58 |