Hi,
Would like to put forth a case of a document audit report :
Select distinct d1.name as "Document Name", REPLACE(dan2.auditstr,'Fetch','Download') as "Action", dan2.auditdate as "Date", k1.name as "User Name", k2.name as "Group name" from dtree d1, dauditnew dan2, kuaf k1,kuaf k2, dtreeancestors dac where dan2.dataid = d1.dataid and dan2.performerID = k1.id and k1.groupid = k2.id and d1.subtype=144 and d1.dataid = dac.dataid and dac.ancestorid = <someID> and k1.name!='Admin'
Suppose A is the coordinator of projects X1, X2.. and B is the coordinator of projects Y1, Y2. So, if A logs in and runs the report then A should see the results of the documents present only in X1, X2.. Similarly, if B logs in and runs the report, B should see the results of the documents present only in Y1, Y2.
How can the live report fetch result as to who is running it , and the same can be used in the report or a sub report ?