Hi All,
I have a requirement to generate a livereport, to find the sub projects in a project and the items present present in the sub projects.
Suppose there is a project called A
and sub project B and C in A
and sub project B has folder f1 and f2
and folder f1 has sub folder sf2 and some documents in sub folder sf2....
and the same will be for sub project c.
If I execute this report it should give me the report as
sub project name,folder name,document
Here sub project name should be B,
folder name that is the immediate folder sf2,
The document is the first document present inside the folder sf2.
This is the query I have started with.
WITH n(DataID, ParentID,Name,subtype,createdate,userid) AS (SELECT d.DataID, d.ParentID, d.Name,d.subtype,d.createdate,d.userid FROM Dtree d WHERE parentid = 1201519)
SELECT * from n
Need help ASAP...It will be very much appreciated.