Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Cannot order by in Script
Iira
Hi All,
In my query order by is only working when given in dataset query,
whereas if i try to order by in script of the dataset,
like 'this.queryText = this.queryText + " ORDER BY receipt.receiptkey)";'.
It is not ordering on preview.
Kindly help.
Find more posts tagged with
Comments
Hans_vd
The preview is not running the whole report, it is just running the query.
Does it work when you run the report instead of just looking at the preview?
Iira
<blockquote class='ipsBlockquote' data-author="'Hans_vd'" data-cid="73663" data-time="1298366804" data-date="22 February 2011 - 02:26 AM"><p>
The preview is not running the whole report, it is just running the query.<br />
Does it work when you run the report instead of just looking at the preview?<br /></p></blockquote>
Yes, you are right it is not executing Script.<br />
Can you tell me the reason why it is not running Script.<br />
In all other reports it is working fine.
Hans_vd
Hi Lira,
Where did you put this script?
Is it in the beforeOpen method of the data set?
Also can you copy/paste the exact code? Why is there a bracket ")" after receiptkey?
Regards,
Hans