logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
manjot.singh  
#1 Posted : Friday, September 2, 2022 7:58:07 AM(UTC)
manjot.singh

Rank: Newbie

Groups: Registered
Joined: 9/2/2022(UTC)
Posts: 1
India
Location: Ludhiana

Hi All,

I hope, I raising my problem in correct forum.

I am getting error when I execute report and giving parameters to Store procedure. when I select value form enumerate list and sending parameter as select value ID its send numeric ID value in round bracket that's why its not able to run store procedure.

[b]12:42:49 Error in model 'VarianceModel': Unexpected error when executing the following SQL statement:
EXEC [dbo].[VarianceReportByEmployee] '2022-01-01 00:00:00','2022-01-01 00:00:00',(2)

Error detail:
Incorrect syntax near '('

Parameters of model Start Date, End Date and Entity ID

If anybody have any solution please reply.

Thanks For your Support.

Edited by user Friday, September 2, 2022 7:59:00 AM(UTC)  | Reason: Not specified

epf  
#2 Posted : Friday, September 2, 2022 3:00:44 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 205 time(s) in 198 post(s)
yes, this looks like a strange behaviour.
can you reproduce the problem by enhancing the sample report '401-SQL Server Stored Procedure with parameters.srex' ?
you might then upload the report itself as an attachement.
thanks.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.