简体   繁体   English

使用选择语句更新查询

[英]Update query with select statment

I have a linked SharePoint List in Access 2010 and I would like to update this list with an Update query. 我在Access 2010中有一个链接的SharePoint列表,我想用一个更新查询来更新此列表。 After the updated query it should show the Result how the table look like. 更新查询后,它应该显示表的结果。 How I can design this query? 如何设计此查询? and I would like to pass the values for the updated table via a Form. 我想通过表单传递更新表的值。 How can I talk with form values to the query? 如何与表单值进行查询?

Best regards 最好的祝福

Matthias 马蒂亚斯

You need to create the button in form name "Update". 您需要以表单名称“ Update”创建按钮。 On the commandClick() you can use the SQL query to update the record by taking the form values. 在commandClick()上,您可以使用SQL查询通过采用表单值来更新记录。 You can also have a new query or report in MS Access that can run " Select * from Table1". 您还可以在MS Access中拥有一个新查询或报表,该查询或报表可以运行“ Select * from Table1”。 I Hope this helps. 我希望这有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM