ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 sort bug for SQL Report based on stored procs

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
jknowlton Posted - 02/16/2006 : 15:32:36
When you try and click a header to autosort on a sql report based off a stored procedure, it produces this error:

Incorrect syntax near the keyword 'order'.; SQL: rst_DailyReport_Prd 0,1,'1/1/2006' order by 4
SQL: rst_DailyReport_Prd 0,1,'1/1/2006' order by 4

I suggest that the software automatically disable the autosort functionality when the report is based off of stored procedure.

Thanks,
Jeff
1   L A T E S T    R E P L I E S    (Newest First)
admin Posted - 02/20/2006 : 12:12:15
Thanks for reporting this problem. A fix to it should be included in the next build.

Meanwhile to use a temp table like so:

[code]

CREATE TABLE #temp
(
ProductName varchar(100),
UnitPrice money,
Quantity int,
Discount money,
ExtendedPrice money
)

insert into #temp
exec CustOrdersDetail '::1'

select * from #temp

[/code]

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