Sunday, 17 January 2021

PowerApps - the type of this argument does not match the expected type "number". found type "text"

 Hi All,

The fix for the above error is to use the Value

Codefix - 

Patch('[dbo].[Staff_Target]',ThisItem,{Staff_ID:Value(TextInput3.Text)})


Instead of (i,e earlier code)

Patch('[dbo].[Staff_Target]',ThisItem,{Staff_ID:TextInput3.Text})

No comments:

Post a Comment