我在 Sharepoint 中有 3 个列表。
我想创建一个连接 3 个表的数据视图。
Table1 与 FieldA 上的 Table2 连接 表 2 与 FieldB 上的 Table3 连接
Table1 在 FieldA 中有重复的值,所以我只需要返回一个值来加入 Table2。
在 Access 中,我的查询如下所示:SELECT DISTINCT WRK_InputWorkOrders.WorkOrder, Production1.[Part Number], Production1.[Work Order], Production1.Location, StationItems.Station, Production1.Description, Production1.Revision, WRK_InputWorkOrders.Status FROM StationItems INNER JOIN (WRK_InputWorkOrders INNER JOIN Production1 ON WRK_InputWorkOrders.WorkOrder = Production1.[Work Order]) ON StationItems.Item = Production1.[Part Number] WHERE (((WRK_InputWorkOrders.Status)<>"已关闭"));
有没有办法为数据视图编写类似 sql 的查询?
我有 Sharepoint Designer 2007 和 Access。
目标是获取用户可以在 Internet Explorer 中查看的报告。我试过使用这种方法。但它返回重复的记录,我发现了这个建议。它建议不要使用 XPath 过滤器(@yourvalue = previous-sibling::dfs:YourRepeatingRowName/@yourvalue)
但无法让它工作。我不知道作为 YourRepeatingRowName 输入什么
我找到了这个链接。有谁知道它是否可以用来执行这样的加入?