Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / November 2005

Tip: Looking for answers? Try searching our database.

alternative for crystal NEXT function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Afaq - 10 Nov 2005 12:51 GMT
Hi,

Is there any alternative in SSRS 2000 for the NEXT function of Crystal. Or
can someone provide a code snippet or logic for the same.
Signature

Afaq Choonawala

Teo Lachev [MVP] - 11 Nov 2005 13:05 GMT
I am sorry, my Crystal knowledge is a little vague at this moment :-) Can
you tell us what this function does?

Signature

HTH,
----------------------------------------------
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog: http://www.prologika.com/
----------------------------------------------

> Hi,
>
> Is there any alternative in SSRS 2000 for the NEXT function of Crystal. Or
> can someone provide a code snippet or logic for the same.
Afaq - 14 Nov 2005 03:42 GMT
u can check the value any column in the next record while still being on the
current record

> I am sorry, my Crystal knowledge is a little vague at this moment :-) Can
> you tell us what this function does?
[quoted text clipped - 3 lines]
> > Is there any alternative in SSRS 2000 for the NEXT function of Crystal. Or
> > can someone provide a code snippet or logic for the same.
Teo Lachev [MVP] - 14 Nov 2005 13:06 GMT
There is no alternative for forward or random navigation. There is a
Previous function but it is an opposite of what you are trying to
accomplish. I hope a future release of RS would give us access to the
dataset before it is "bound" to the region, e.g. similar to binding ASP.NET
user controls. For the time being, consider bringing the the next record
value in the current record by transforming data at the data source.

Signature

HTH,
----------------------------------------------
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog: http://www.prologika.com/
----------------------------------------------

>u can check the value any column in the next record while still being on
>the
[quoted text clipped - 8 lines]
>> > Or
>> > can someone provide a code snippet or logic for the same.
Rob Olson - 30 Nov 2005 20:22 GMT
Not sure if you will find this useful for your situation or not, but I am in
the process of converting our reports from Crystal Reports to SQL Server
Reporting Services and I came up with the following alternative for the NEXT
function in our situation.

Many of our reports consist of multiple groups with subtotals and grand
totals in the group footers.  On some of the CR reports, we have a
conditional page break which forces a page break only if the NEXT group value
is equal to the current value.  For example: {@Bank_Name/Bank_HEADER} = Next
({@Bank_Name/Bank_HEADER})
This prevents a group footer from appearing on a single page by itself.

My SSRS solution is to place all the group footer information in the
innermost group footer, but within their own individual table rows with the
innermost group footer's Page break at End property checked.  Then I define
the table row's hidden property to an expression which evaluates the row
number of the group with the row count of the group, such as
=(RowNumber("table1_Group2")<>CountRows("table1_Group2")).

My Group 1 and Report Footers row hidden properties have the following
respective expressions:

=(RowNumber("table1_Group1")<>CountRows("table1_Group1"))
=(RowNumber("table1")<>CountRows("table1"))

As for the aggregate functions in each of the table rows, I apply the same
scope values to achieve the Group 2, Group 1, and report totals as in:  

=Count(Fields!Formula_Acct_Num.Value, "table1_Group2")
=Count(Fields!Formula_Acct_Num.Value, "table1_Group1")
=Count(Fields!Formula_Acct_Num.Value, "table1")

= Sum(Fields!Formula_Balance.Value, "table1_Group2")
= Sum(Fields!Formula_Balance.Value, "table1_Group1")
= Sum(Fields!Formula_Balance.Value, "table1")

Enjoy!

> There is no alternative for forward or random navigation. There is a
> Previous function but it is an opposite of what you are trying to
[quoted text clipped - 15 lines]
> >> > Or
> >> > can someone provide a code snippet or logic for the same.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.