ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 Problem with Store Proce Based Reports

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Message:

* HTML is ON
* Forum Code is OFF
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
juliom Posted - 05/25/2009 : 15:52:18
If you have a report based on a Store Procedure it's not possible for the user to edit the filters or the columns. When you try to do so, you get an error with an Unhandled Exception stating that there has been a sintax error in the select that populates the forms with the available fields and filters.
This is really inmportant, given that the only way to have an "All" option in a filter is doing it through store procs.

Some thing else that you cannot do is to sort, when the report is based on a store procedure. Theres a post where Igor suggest a method for solving this here http://www.reportportal.com/forum/topic.asp?TOPIC_ID=271

With this method you can actually sort, but when it comes to the user to edit columns and/or filters, you have the same result I just mentioned, an unhandled exception.

Regards,
1   L A T E S T    R E P L I E S    (Newest First)
juliom Posted - 05/25/2009 : 20:15:49
I have to correct my self. Using store procs is not the only way to have "All" option in a filter. I stumble upon this http://www.sqlstuff.dk/post/Filter-parameters-in-a-Stored-Procedure.aspx
It's a great post... is actually quite simple and it help me overcome this issue... Now I have it all, I have the "All" option in the filters and I can sort the results if I want and... I can edit the columns and filters to include in the report...

Thanks,

ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page