将PowerApps文本字段中的数据保存到SQL Server表中

问题描述:

有谁知道是否可以将用户输入到文本字段中的数据保存到SQL Server表中。我们目前有从SQL Server读取数据到我们的PowerApps应用程序,但我们似乎无法弄清楚我们如何做相反的事情。有人提到使用Flow,但我们不确定。谢谢!将PowerApps文本字段中的数据保存到SQL Server表中

您可以使用Patch()函数将PowerApps中的数据保存到SQL Server中。例如通过Patch(MySQLtable, Defaults(MySQLtable), {MyTextColumn: MyTextInput.Text}) 其中表达式作为按钮的OnSelect属性放置,MyTextInput是PowerApps中的文本输入控件。 请参阅Patch function documentation

也请注意current issues with SQL Server and PowerApps