February 10, 2012  
   Login  
Forum  
 
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Enesys Invalid Parameter  Enesys Invalid Parameter
Previous Previous
 
Next Next
New Post
 2/12/2009 12:12 PM
 
 Modified By carles  on 2/13/2009 3:04:37 AM

Hi, I facing a problem to filter the result with parameter value that contains '&' character on Enesys v3.0.  

For example, I have one parameter drop down list called category. There are three items on the category, that are "Male", "Female", "Male & Female" (Ignore double quote).

First, when I select "Male" from the parameter drop down list and do the filtering with CAML query. It works fine. But when I choose "Male & Female" from the drop down list to do filtering with CAML query. It give me the following error message.

An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for data set 'DSGumusut'. (rsErrorExecutingCommand)
An error occurred while parsing EntityName. Line 1, position 54.

The following is my sample query

<list title="humanSex" relativeSiteUrl="/" tableName="tblHumanSex">

<fields>*</fields>

<query>

<In>

<FieldRef Name='Title' />

<Value Type='Lookup'>@category!</Value>

</In>

</query>

</list>

Help me please!

New Post
 2/13/2009 7:20 PM
 

Hi,

You should be able to solve the problem by putting your parameter into a CDATA element as shown in the following image:

query

Regards,


Frederic LATOUR
ENESYS
New Post
 2/16/2009 7:22 AM
 

Ok, thanks for the resolution.

Frédéric LATOUR wrote

Hi,

You should be able to solve the problem by putting your parameter into a CDATA element as shown in the following image:

query 

Regards,

Previous Previous
 
Next Next
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Enesys Invalid Parameter  Enesys Invalid Parameter

 
You need to login for posting to the forums.
If you don't have a login, click here to register.
 
Copyright 2010 Enesys - All rights reserved Terms Of UsePrivacy Statement