May 19, 2012  
   Login  
Forum  
 
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Mix SP and SQL with multiple value parameters not working (?)Mix SP and SQL with multiple value parameters not working (?)
Previous Previous
 
Next Next
New Post
 6/9/2010 8:56 PM
 
 Modified By luciano.arias@magna.com  on 6/9/2010 9:10:52 PM

Hi,

I like the new version and the concept of mixing SQL and SP data. However I am running into problems when I use mixed data between SP and SQL. (I am using VS 2008) This is my scenario

I have a Sharepoint list query (no conditions) (i.e. ITProjects)

I have a SQL server (called sqlTT) query like this one select * from TimeEntries where (customer in (@Customer!))

then I mix them using a SQLquery join select * from ITProjects as a Join sqlTT as b on a.key = b.key

When I run the report and select more than one customer value I get an error

Query execution failed for dataset 'DataSet1'
The parameterized query '(@Customer_mvp0 nvarchar(13),@Customer_mvp1 nvarchar(13),@Custom' expects the parameter @Customer' which was not supplied.

If I replace the @Customer! with regular text 'value1,value2,value3' it works ok. Also, if I select only ONE value...it works ok

I am not sure what I am doing wrong...

Thanks for your help,

L

New Post
 6/9/2010 10:39 PM
 

Hi Luciano,

We confirm that there is a bug inside the sqlServerQuery when using multivalues parameters. The developer team has identified the issue and tried a fix. We still need to make further tests in order to ensure that it has not broken anything else.

We will come back to you as soon as a new release that fixes this problem is available.

We are sorry for the inconvenience,

Regards,
Marien Monnier
Enesys

New Post
 6/9/2010 10:51 PM
 

Ok thanks for the update. Sure, please keep me posted

Thanks again

L

New Post
 6/10/2010 2:38 PM
 

Hi,

The bug has been fixed in the new 3.4.4 release that is available for download.

Let us know if you have any questions.

Regards,


Frederic LATOUR
ENESYS
New Post
 6/10/2010 4:13 PM
 

Thanks, it seems to be working now.

;)

New Post
 10/12/2011 11:32 PM
 


I am having this same problem with MultiValue parameters in 3.6.28.1. When I select a single value of my multi-value parameter, things work fine, but if I select multiple values I get this error:

An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'JoinedSPData'. (rsErrorExecutingCommand)
The parameterized query '(@ClientInstance nvarchar(4),@ProjectStatus nvarchar(4000)) SEL' expects the parameter '@ProjectStatus', which was not supplied.


Is it possible this fix was lost in updates?


James Fraser
New Post
 10/13/2011 12:10 AM
 

Hi,

For information, forum will no longer be used for providing support. Please send an email to the support address for any support requests. It will automatically open a ticket.

To your problem:

Can you send your query or your report file to the support address email?

Thanks


Frederic LATOUR
ENESYS
Previous Previous
 
Next Next
ForumForumEnesys RS Data ...Enesys RS Data ...Support - RS Da...Support - RS Da...Mix SP and SQL with multiple value parameters not working (?)Mix SP and SQL with multiple value parameters not working (?)

 
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