I have 3 lists in Sharepoint.
I want to create a dataview that is a join of three tables.
Table 1 is connected to Table 2 on FieldA. Table 2 is connected to Table 3 on FieldB.
Table 1 has duplicate values ββin FieldA, so I only need to return a single value to connect to Table2.
In Access, my query looks like this: 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.Item1). Production1. [Part Number] WHERE (((WRK_InputWorkOrders.Status) <> "closed"));
Is there a way to write sql-like queries for dataviews?
I have Sharepoint Designer 2007 and Access.
The goal is to get a report that a user can view in Internet Explorer. I tried to use this method. But it returns duplicate entries. I found this sentence. It suggests using the XPath not filter (@yourvalue = previous-sibling :: dfs: YourRepeatingRowName / @ yourvalue)
But he could not get it to work. I do not know what to enter as YourRepeatingRowName
I found this link. Does anyone know if it can be used to make such a connection?
source
share