Solved

XMLExists with Multiple Value Parameter

Posted on 2014-11-14
4
57 Views
Last Modified: 2015-02-19
I am pulling data from a XML field in an Oracle database for use in a Crystal Report.  Currently, I'm using XMLExists with a parameter which works fine (below).  The problem is only one parameter value can be entered for each report.  Is there a way to query an XML field with a multiple value parameter?

      xmlexists('declare default element namespace "http://somenamespace.com/common/xsd"; (: :)
             /Person[Id={?ID}]' passing xmlfield)

Thanks!
0
Comment
Question by:SBsUserName
4 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40442586
I suspect not.  It will depend on whether you can change the = {?ID} to IN {?ID}.

mlmcc
0
 

Author Comment

by:SBsUserName
ID: 40443594
"In" wouldn't work.  Thanks though.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question