Subreport queries
hi...
i am new for using crystal reports in jsp.
Now i have a problem using a subreport. I am having one subreport inside my main report, whereas
For a single record in my main report subreport records may more than one.
While sending the query for the main report from the filename-viewer.jsp, how can i pass the query for the sub report from the same jsp?
any one who already face this type of things can help me..
(any link page with example is more suitable)
Ok - it turns out that Crystal Reports disregards BEx Query variables when put in the Default Values section of the filter selection.
I had mine there and even though CR prompted me for the variables AND the SQL statement it generated had an INCLUDE statement with hose variables I could see by my result set that it still returned everything in the cube as if there was no restriction on Plant for instance.
I should have paid more attention to the Info message I got in the BEx Query Designed. It specifically states that the "Variable located in Default Values will be ignored in the MDX Access".
After moving the variables to the Characteristic Restrictions my report worked as expected. The slow response time is still an issue but at least it's not compounded by trying to retrieve all records in the cube while I'm expecting less than 2k.
Hope this helps someone else
Similar Messages
-
Download byte[]'s from database from pageflow Controller
I cannot seem to download a byte[] array (of a stored excel file in Oracle) using a pageFlow controller. I want to use the controller because the byte[]'s are gathered from a JDBCControl and the controller can of course gain easy access to the JDBCControl.
Of course the desired end result is that the browser will prompt the user to open/save the dowloaded file.
Has anyone been able to do this?Hi Jinchun,
Thank you for your suggestions. Below are my comments:
Upgrade the SSRS to date - I am a developer and the server is owned by an infrastructure team. It is not at all realistic for me to ask them to upgrade the server because of my issues. If it helps though, we are using SSRS 2012.
Run the sub report separately to check whether the issue happens - I have done this and it doesn't make a difference because I'm only retrieving basic parameters from the main report. The subreport queries the binary data from the database itself.
Simply the custom code(e.g. Just show message box) - Unfortunately, I didn't have time to try this one before the business agreed to the other working option which is downloading the files to a shared drive. I know it sounds so lame from a web development
perspective but really I think this is not a bad compromise for using SSRS.
Thanks again for your efforts,
Vanessa -
Crystal Report performance - subreports or sql command?
Hello,
bit of quandary, I've an existing report that contains six subreports all sharing the same parameter to the main report, a 'projectID' field.
The main report approximately returns 300 records/projects and each of the 6 subreports are passed the corresponding 'projectID' field 300 times.
Now, I've succesfully incorporated the main report query and corresponding subreports into a TSQL command containing a number of subqueries in the Select clause:
SELECT PROJECT.PROJECTID, PROJECT.TITLE, PROJECT.REFERENCE, PROJECTSTATUS.PROJECTSTATUS, PROJECT.INPUT_DATE
,(SELECT max(INPUT_DATE) FROM V_PROJECT_NOTE AS VPN
WHERE PROJECT.PROJECTID = VPN.PROJECTID) AS LastHeadline
,(SELECT
MAX(CASE
WHEN MODIFIED_DATE IS NULL THEN INPUT_DATE
WHEN INPUT_DATE > MODIFIED_DATE THEN INPUT_DATE
ELSE MODIFIED_DATE
END) FROM ISSUE WHERE PROJECT.PROJECTID = ISSUE.PROJECTID) AS LastNewIssue
,(SELECT max(ISSUENOTE.INPUT_DATE) FROM ISSUE
INNER JOIN ISSUENOTE ON ISSUE.ISSUEID = ISSUENOTE.ISSUEID
WHERE PROJECT.PROJECTID = ISSUE.PROJECTID ) AS LastIssueNote
,(SELECT max(modified_date) FROM V_PROJECT_RISK_LAST_AMMENDED AS VPR
WHERE PROJECT.PROJECTID = VPR.PROJECTID) AS LastRiskLogUpdate
,(SELECT max(INPUT_DATE) FROM PROJECT_CHECKLIST AS PC
WHERE PROJECT.PROJECTID = PC.PROJECTID) AS LastChecklistUpdate
,(SELECT max(input_date) FROM V_PROJECT_ACTIVITY_LAST_AMMENDED AS VPA
WHERE PROJECT.PROJECTID = VPA.PROJECTID) AS LastGANTTUpdate
,V_PROJECT_KEYCONTACT.USERNAME AS KeyContact
,(SELECT USERPROFILE.USERNAME AS Supervisor
FROM USERPROFILE INNER JOIN
PROJECT_MEMBER AS SUPERVISOR ON USERPROFILE.USERID = SUPERVISOR.USERID RIGHT OUTER JOIN
PROJECT_MEMBER AS KEYCONTACT ON SUPERVISOR.PROJECT_MEMBERID = KEYCONTACT.PARENTID
WHERE PROJECT.PROJECTID = KEYCONTACT.PROJECTID
AND KEYCONTACT.KEY_CONTACT =1) AS Supervisor
FROM PROJECT INNER JOIN
PROJECTSTATUS ON PROJECT.PROJECTSTATUSID = PROJECTSTATUS.PROJECTSTATUSID LEFT OUTER JOIN
V_PROJECT_KEYCONTACT ON PROJECT.PROJECTID = V_PROJECT_KEYCONTACT.PROJECTID
WHERE V_PROJECT_KEYCONTACT.USERNAME IN ('aaa','bbb','ccc')
AND (PROJECTSTATUS.PROJECTSTATUS IN ('111', '222', '333'))
AND ((PROJECT.TITLE NOT LIKE 'xxx%') AND (PROJECT.TITLE NOT LIKE 'yyy%') AND (PROJECT.TITLE NOT LIKE 'zzz%'))
ORDER BY V_PROJECT_KEYCONTACT.USERNAME, PROJECT.INPUT_DATE
Now, I've run both SQL Server Profiler and looked at the Performance Information in Crystal and the SQL command method is an order of magnitude less efficient!!
I may have to post my query on a TSQL forum but was wondering if anyone on here can possible shed any light on it?
Thanks in advance,
DomDom,
I assume that the last edit was to remove a few curse words...
The reality is that we can give a good explanation as to why the sub-report version would execute faster that the command version w/o seeing the report (with the sub-reports included).
Looking at the SQL, I can tell that it's a fairly expensive query, firing several sub-queries for every row returned by the outer query. That said, I sounds like the same thing is taking place with the sub-report version too... So I would think that the performance would be similar.
The only thing that I can think of, and this is just a guess... With the sub-report version, each all queries are being run independently and then combined locally by CR, whereas the command version, everything is combined. The more complex the query, the harder the optimizer has to work to come up with the best execution plan... and the greater the likelihood that that the resulting plan isn't as optimized as it could be.
That said, I'd still think the command version would be faster over all. Are you seeing real differences between the two reports, in the amount of time that it takes from refresh to final render?
Either way, I think moving all of those sub-queries from the select list (where they are executing once for every row) down to the FROM area (where they only have to execute once) should increase the speed dramatically and surpass the sub-report version by a decent margin.
Give this version of your SQL a test drive and see if it yields an improvement.
SELECT
PROJECT.PROJECTID,
PROJECT.TITLE,
PROJECT.REFERENCE,
PROJECTSTATUS.PROJECTSTATUS,
PROJECT.INPUT_DATE,
VPN.LastHeadline,
ISSUE.LastNewIssue,
ISSUE_NOTE.LastIssueNote,
VPR.LastRiskLogUpdate,
PC.LastChecklistUpdate,
VPA.LastGANTTUpdate,
V_PROJECT_KEYCONTACT.USERNAME AS KeyContact,
Supervisor.Supervisor
FROM PROJECT
INNER JOIN PROJECTSTATUS ON PROJECT.PROJECTSTATUSID = PROJECTSTATUS.PROJECTSTATUSID
LEFT OUTER JOIN V_PROJECT_KEYCONTACT ON PROJECT.PROJECTID = V_PROJECT_KEYCONTACT.PROJECTID
LEFT OUTER JOIN (
SELECT PROJECTID,
max(INPUT_DATE) AS LastHeadline
FROM V_PROJECT_NOTE
GROUP BYPROJECTID) AS VPN ON PROJECT.PROJECTID = VPN.PROJECTID
LEFT OUTER JOIN (
SELECT PROJECTID,
MAX(CASE
WHEN MODIFIED_DATE IS NULL THEN INPUT_DATE
WHEN INPUT_DATE > MODIFIED_DATE THEN INPUT_DATE
ELSE MODIFIED_DATE END) AS LastNewIssue
FROM ISSUE
GROUP BY PROJECTID) AS ISSUE ON PROJECT.PROJECTID = ISSUE.PROJECTID
LEFT OUTER JOIN (
SELECT ISSUE.PROJECTID,
max(ISSUENOTE.INPUT_DATE) AS LastIssueNote
FROM ISSUE
INNER JOIN ISSUENOTE ON ISSUE.ISSUEID = ISSUENOTE.ISSUEID
GROUP BY ISSUE.PROJECTID) AS ISSUE_NOTE ON PROJECT.PROJECTID = ISSUE_NOTE.PROJECTID
LEFT OUTER JOIN (
SELECT PROJECTID,
max(modified_date) AS LastRiskLogUpdate
FROM V_PROJECT_RISK_LAST_AMMENDED
GROUP BY PROJECTID) AS VPR ON PROJECT.PROJECTID = VPR.PROJECTID
LEFT OUTER JOIN (
SELECT PROJECTID,
max(INPUT_DATE) AS LastChecklistUpdate
FROM PROJECT_CHECKLIST
GROUP BY PROJECTID) AS PC ON PROJECT.PROJECTID = PC.PROJECTID
LEFT OUTER JOIN (
SELECT PROJECTID,
max(input_date) AS LastGANTTUpdate
FROM V_PROJECT_ACTIVITY_LAST_AMMENDED
GROUP BY PROJECTID) AS VPA ON PROJECT.PROJECTID = VPA.PROJECTID
LEFT OUTER JOIN (
SELECT PROJECTID,
USERPROFILE.USERNAME AS Supervisor
FROM USERPROFILE
INNER JOIN PROJECT_MEMBER AS SUPERVISOR ON USERPROFILE.USERID = SUPERVISOR.USERID RIGHT
OUTER JOIN PROJECT_MEMBER AS KEYCONTACT ON SUPERVISOR.PROJECT_MEMBERID = KEYCONTACT.PARENTID
WHERE KEYCONTACT.KEY_CONTACT =1) AS Supervisor ON PROJECT.PROJECTID = Supervisor.PROJECTID
WHERE V_PROJECT_KEYCONTACT.USERNAME IN ('aaa','bbb','ccc')
AND (PROJECTSTATUS.PROJECTSTATUS IN ('111', '222', '333'))
AND ((PROJECT.TITLE NOT LIKE 'xxx%')
AND (PROJECT.TITLE NOT LIKE 'yyy%')
AND (PROJECT.TITLE NOT LIKE 'zzz%'))
ORDER BY V_PROJECT_KEYCONTACT.USERNAME, PROJECT.INPUT_DATE
HTH,
Jason -
Subreports showing blank prompt after SP3 upgrade
We recently applied SP3 to our Business Object software and now any BW based subreports are displaying blank Prompt screen when we try to run the Queries individually. The report works fine if we use the "Refresh All" option instead of the Single report Refresh.
Wondering if anyone has come across similar issue in the past?
Thanks!
AnupSee:
*https://support.mozilla.com/kb/latest-firefox-issues#os=mac&browser=fx9 -
Multiple queries on report builder?
I know how to create a report in report builder with a single
query but in this case i would like to create a single page report
that consist of 3 sections containing results from 3 seperate
queries. how do i do something like this?Using subreports
Subreports let you nest a report within your report. The data
you
display in a subreport is typically related to the data in
the main
report and you enable this by passing one or more subreport
parameters
to the subreport. However, the data displayed in a subreport
can also be
unrelated to the data in the main report.
http://www.adobe.com/livedocs/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm? context=ColdFusion_Documentation&file=part_dev.htm
If that link doesn't work, it is located here in either the
bundled or
on line documentation.
ColdFusin MX Developer's Guide > Creating Reports for
Printing >
Creating reports with the ColdFusion MX 7 reporting >
Using subreports -
Merging two Queries in single crystal report lauout
Hi All,
I need to show two reports from two different BEx queries in a single crystal report layout. The queries are independent of each onther and having their selection variables. I have implemented two subreports for two queries in a main report. Now the problem i am facing is, though both the queries are having same slection(Profit Centre and Fiscal Per/Year), they are getting repeated in crystal report parameter screen. I have to enter the values for selections for each report.
Is there any method to merge the selections for both reports if they are same, so that i can enter the selections only once?
Thanks in Adv,
Shubhramukta.Hi,
I have two queries in BEx having Selections. Query 1 is having selections (Profit centre and Fiscal Per/Yr) and query 2 is having same selections as well(i.e. Profit centre and Fiscal Per/Yr). I have created two reports corresponding to these queries have used as subreports in a main report using Crystal report 2008. When i run the main Crystal report, it automatically prompts for values to be entered, as variables are set at BEx query level.
Though both the reports are having same selection variables, crystal report asks to enter values two times , once for each report, and it is obvious.
Parameters are Crystal parameters.
Is there any method to merge the parameters,is selection variables are same, so that it will ask only once?
Thanks -
Can I create one single crystal report using 2 bex queries
HI all,
I have 2 bex queries and has to develope a single crystal report .Is it possible???? If so, than how to connect two bex queries and develope one single crystal report.Any other option is also fine. I mean ....no need to use crystal..( I can go for one single webi..).But need to know the approach ...
or else...can I create universe on 1 bex and other universe on other bex ..and go for one single webi report..
Only problem is client is particular about one single report(either crystal or webi)
if i go for webi ...I know we can use link universe option but I dont know whether it works fro OLAP environment.
Please let me know if I can link OLAp universes and go for 1 single webi report.
Any help is appreciated.
Thanks in advance,
MahathiYou can use either CR or WebI.
In CR Designer create the report using the SAP toolbar (Create report from query) based on the 1st BEx query. Then use the Database expert (first entry in the Database menu) to add an additional connection to your 2nd BEx query (+Create new connection->SAP BW DX query). You can then join the results of the 2 different queries in the database expert also.. Please note that if you do NOT want to join the result sets, then it is more efficient to use subreports. Create two different CR reports, each based on one of the BEx queries and then use one of those as your main report and insert the other one into it as subreport. Once embedded you do not have to keep the separate .rpt file of your second report.
For Webi you must build 2 universes, each based on one of your BEx queries. In your report you can add multiple queries based on different universes. You can join the results sets here by using the Merge dimensions button in the report editor area.
Regards,
Stratos
PS; Keep in mind that joining a large number of rows at report level (either in CR or WebI) can cause performance problems. If this is your requirement, how many rows do you expect to get back from each individual query? -
Crystal report -Subreports and BW key date
Hope your in good spirits, we had to install the SP 7 on bw for our webi reports to work, i have an issues here with Crystal reports
I need to develope a crystal report with two BEx Queries as Data Sources, I suggested to use Subreports, where the promts of the reports can be linked, but i have a Keydates in these two Bex Queries which are poping up as two parameters when i run the report is there any way that you can link those to key dates,where the user can enter for one key date Parameter and the value is passed to the Sub report Key date parameter, please help me>
raj_4234 wrote:
> Hope your in good spirits, we had to install the SP 7 on bw for our webi reports to work, i have an issues here with Crystal reports
>
> I need to develope a crystal report with two BEx Queries as Data Sources, I suggested to use Subreports, where the promts of the reports can be linked, but i have a Keydates in these two Bex Queries which are poping up as two parameters when i run the report is there any way that you can link those to key dates,where the user can enter for one key date Parameter and the value is passed to the Sub report Key date parameter, please help me
did you manage get the solution, i also want to know how to share date parameter from subreport to main report? -
How to use external query in subreport?
I would like to use report builder to display a simple report containing a one to many relationship.
For example, a list of customer orders where each customer order can consist of many ordered items.
The queries for this report must be external. Is this possible, and if so, how do I do it?
I was able to do it with embedded queries no problem.
Passing in a query for outer report works no problem.
I was able to pass in a query for the subreport, however, I cannot filter that subreport by the parent id.
Any ideas? Let me know if this is not clear enough, it seems like it should be a fairly common task/occurrence.
(I just started looking at report builder yesterday)Here is how I create the external query in the subreport:
0. Create your subreport. For the SQL query, you can use the built-in query (just to test the structure of your design) then later cut and paste your query to the external file. To filter out the criteria for your subreport, you need to add the "Parameters" for as many criteria as you want.
1. Design the report. For the SQL query, you can use the built-in query (just to test the structure of your design) then laater cut and paste your query to the external file. To filter out the criteria for the report, you need to add the "Parameters" for as many criteria as you want. (You also might have to add the criteria from the subreport so that you can later specify in the calling file).
Add your subreport, make sure to rename the subreport to something that you can reference later in the external code.
2. Then here is an example of how you will put everything together:
Example: Let's say you want to create a report named "CustomerReport.cfr" having a subreport "CustomerOrderReport.cfr". If you create a query file "qry_getCustomerInfo.cfm" which having the 2 SQL queries named "getCustomerInfo" and "getCustomerOrderInfo".
Here is how you will call the report:
<cfinclude template="qry_getCustomerInfo.cfm">
<cfreport template="CustomerReport.cfr" format="pdf" query="getCustomerInfo">
<cfreportparam name="whatevername that you created in parameter" value="#your passing value#">
<cfreportparam name="whatevername that you created in parameter" value="#your passing value#">
<cfreportparam name="whatevername that you created in parameter" value="#your passing value#">
<cfreportparam SUBREPORT="getCustomerOrder" query="getCustomerOrderInfo">
</cfreport>
Try to see whether this helps. Good luck. -
Multiple queries in a single report?
I'm having some issues with the ColdFusion Report Builder...
I have a database table called "Items" that includes fields
for Reviewer and Status. I want to create a report that will list a
reviewer, then express the number of items where the Status is
"open" as a total or record count. I want to do the same for total
items, and then express the number of "open" items as a percentage.
For example:
REVIEWER, OPEN ITEMS, TOTAL ITEMS, PERCENT OPEN
John Doe, 10, 20, 50%
Jane Smith, 15, 60, 25%
...and so on.
So far I've only been able to get my report to display the
recordcount of the entire query. In order troubleshoot the problem
I created a regular cfm page to do the same thing. Here's what I
did:
<cfquery name="getreviewers"
datasource="#APPLICATION.datasource#">
SELECT DISTINCT Reviewer
FROM Items
ORDER BY Reviewer
</cfquery>
<cfoutput query="getreviewers">
<cfquery name="getopenitems"
datasource="#APPLICATION.datasource#">
SELECT Status
FROM Items
WHERE Status='open'
AND Reviewer = '#Reviewer#'
</cfquery>
<cfset open = getopenitems.recordcount>
<cfquery name="getallitems"
datasource="#APPLICATION.datasource#">
SELECT Status
FROM Items
WHERE Reviewer = '#Reviewer#'
</cfquery>
<cfset all = getallitems.recordcount>
<cfset percent = (open / all) * 100>
#getreviewers.DR_Item_Reviewer#, #open#, #all#,
#Round(percent)#%
</cfoutput>
That worked great, but as you can see I had to nest a couple
of queries inside a <cfoutput>. I don't know how to
incorporate this into the report builder, as it seems you can only
specify a single query. Another thing that occurs to me is perhaps
I'm going about this the wrong way. Is there perhaps a function
that will display things the way I want them without fussing with
multiple queries? Any help would be greatly appreciated. Thanks in
advance.It seems like you are trying to do a subreport. You can nest
reports within the report feature...just check out the subreport
feature under the help section. If that doesn't help let me
know. -
Get data in a subreport based on a shared variable from the main report.
Goodd morning,
My question/problem is how to manage this scenario.
I am transfering 2 shared variables (pereiod from /period To, ) from the main report to a subreport and now i would like to get data in this subreport based on these 2 variables...
The problem is that i can not find the shared one in select expert icon...
Could anyone point me to solve this issue?
Thks for any help.
Jose Marin
Crystal Report XI SR3Hello Jos,
I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
It is monitored by qualified technicians and you will get a faster response there.
Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
Best regards,
Falk -
Multiple BEx queries in one report
Hi All,
I would like to know if we can use multiple BEx queries in a single report using Crystal Report 2008 / 2011?
If so, there is another requirement follwoing the above as below:
I have objects obj1,obj2,obj3 in query 1 and objects obj1, obj2, obj4 in query 2. I have prompts based on obj1 from query1 and prompt on obj4 from query2.
So, when I enter a value in prompt1 for obj3, i need to have query1 executed and display the data and data should not be displayed from query2. Similarly, if I enter value for prompt2 of query2, only query2 data to be displayed.
Pls suggest if this can be achieved and how?
Thanks,
Naresh
Edited by: NareshKatakam on Jul 22, 2011 11:25 AMUse a subreport for each query
-
Several Queries in one Repeating Report
I have an employee production report. There are several queries that combine to display several different sets of data for only one individual. I want to be able to just run one report and see not just one employee, but every employee under a given manager. Right now the parameter is set to be the individual employee, but managers need to be able to run just on query and see all of their employees' production, so what I need to be able to do is have a report with a manager as the parameter, and display each and every one of his/her employees. With just one query and one set of data, simply grouping by thaT field would suffice, but my report contains about 5 different queries per individual. I've tried using a UNION query, but does Reports Builder not have a way to do this within the application rather than having to do it in the SQL?
You would use a subreport to do this. You will need to be sure and link the input variables from the main report to the subreport to keep the rowsets in synch.
-
Setting Multi Variables with Multi SQL Queries: Performance Bottleneck?
Hello ODI Experts,
I have created a Logical & Physical Schema and Source Data Store to pick data from DB Table. Now I am setting variables with simple SELECT Query for setting each variable (in its Refreshing tab>Select Query field).
It gives me a less optimized approach picking one column per query (per variable). Lets say, I have to pick 35 columns from a table and put those in 35 variables...It would mean running 35 queries for fetching one record from the database table.
Doesn't it seem less performance effective (less optimized)..a little scary..or ODI does it with some internal optimized technique?
Any thing better or a different approach that I can do to make variable setting more optimized?
Please guide.
Thanks & Regards,
Ahsan AsgharHi GottaLoveSQL,
According to your description, you want to improve the performance of report with subreports. Right?
In Reporting Services, the usage of subreport will impact the report performance, because the report server processes each instance of a subreport as a separate report. So the best way is avoid using subreport by using LookUp , MultiLookUp , LookUpSet, which
will bridge different data sources. In this scenario, we suggest you cache the report with subreport. We can create a cache refresh plan for the report in Report Manager. Please refer to the link below:
http://technet.microsoft.com/en-us/library/ms155927.aspx
Reference:
Report Performance Optimization Tips (Subreports, Drilldown)
Performance, Snapshots, Caching (Reporting Services)
Performance Issue in SSRS 2008
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Sentinel 7/LM: events sub-queries, DB queries...
Hi,
Im using Sentinel 7 but I think that SLM works at the same way.
I have an IDM workflow with tree forms: request, approval1 and
approval2. I need show all the history based on my activities, ie:
Activity0: requested by user1, date, request text;
Activity1: approved by user2, date, approval text;
Activity2: approved by user3, date, approval text.
My query needs to be like:
Code:
SELECT
msg as message
WHERE
evtgrpid: (SELECT evtgrpid WHERE (evt"User Message \: Activity") AND msg:requester*) OR (evt"User Message \: Activity1") AND msg:approver1*) OR (evt"User Message \: Activity2") AND msg:approver2*)
GROUP BY msg
But this not work. There is a way to do this?
I need also to use two or more queries. As IDM logs only the CN and DN
and I need to search by Full Name, EmployeeID and so on, Im thinking to
develop a JDBC driver and extend the SIEM database schema, but first I
will need to search the database to convert search fields in CN
information (ie: Full Name in CN) and then use this result as parameter
in a new search. Is that possible?
I thought to create a final log action that summarizes everything but
this brings me other problems with search and status (reports will not
show running workflows).
agorian
agorian's Profile: http://forums.novell.com/member.php?userid=53023
View this thread: http://forums.novell.com/showthread.php?t=452204Hi,
>>> On 13.02.2012 at 15:46, agorian<[email protected]> wrote:
> Hi,
>
> Im using Sentinel 7 but I think that SLM works at the same way.
>
> I have an IDM workflow with tree forms: request, approval1 and
> approval2. I need show all the history based on my activities, ie:
>
> Activity0: requested by user1, date, request text;
> Activity1: approved by user2, date, approval text;
> Activity2: approved by user3, date, approval text.
>
> My query needs to be like:
>
>
> Code:
> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑‑‑
>
> SELECT
> msg as message
> WHERE
> evtgrpid: (SELECT evtgrpid WHERE (evt"User Message \: Activity") AND
> msg:requester*) OR (evt"User Message \: Activity1") AND msg:approver1*)
> OR (evt"User Message \: Activity2") AND msg:approver2*)
> GROUP BY msg
>
> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑‑‑
You can't do subselects in lucene style queries. BTW what are you trying to
achieve with "GROUP BY msg"?
>
>
> But this not work. There is a way to do this?
Try adding a subreport to your detail band.
>
> I need also to use two or more queries. As IDM logs only the CN and DN
> and I need to search by Full Name, EmployeeID and so on,
Take a look at Identity Tracking in the Compliance Management Platform or
IDM4 Advanced Edition. They provide such kind of information.
Norbert
> Im thinking to
> develop a JDBC driver and extend the SIEM database schema, but first I
> will need to search the database to convert search fields in CN
> information (ie: Full Name in CN) and then use this result as parameter
> in a new search. Is that possible?
>
> I thought to create a final log action that summarizes everything but
> this brings me other problems with search and status (reports will not
> show running workflows).
>
Maybe you are looking for
-
I know this has prob been covered a million times BUT I cant find the answer or solution. I am new to FCPX and I shoot video on canon xa10 using internal HD...When I go to import into FCPX the files are empty?? Why?? I can see the files on my HD but
-
Hi, I am having a MVC application involving intense PDF operations. The application will open a new Login Window if the session times out. After the new Window opens, the user logs in again using the userid/password. All the operations work normally
-
My network adapter is not being detected HELP!
Ok here's the deal. My computer isn't amazing but it gets me by however two days ago I went to use it and I couldn't connect to the internet. I check the drivers and the device manager and found out that it isn't even detecting that I have a wireless
-
VPN Client Issue after Vista Upgrade
Not sure if this should be posted here, if not please let me know. My organization has recently implemented Vista via an Upgrade-in-Place Process that takes an imaged system (Windows XP Pro - 32bit) and upgrades the system with a network image of Win
-
Our family has 2 iPads, 2 iPhones and 1 iPod touch. One of the iPads is not listed in devices in find my iPhone app. This app is on all devices we own. In the app on my phone it lists "this device" but on the ipad that's missing the "this device" is