Jump to content
We've recently updated our Privacy Statement, available here ×

next() function


kevin15k

Recommended Posts

During evaluation time I want to compare current row with the next row in my resultset. I am doing this since I only want to show a horizontal line when the orderID changes. For example if my result set looks like:

OrderID

555

555

555

555

556

I only want to show the line after the last 555 so I need something to compare current OrderID with the next one coming up in the result set. Crystal reports had this functionality with a next() and previous() function.



Post Edited by kevin15k at 02/02/2011 17:19
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Thank you Carl. I went into my report inspector, and apparently I already had a group named OrderID, must have created it with the report wizzard in the beginning, just right clicked on that and hit Add Band and it added it for me. Put the line in there and shrank the band and it seems to work. Thanks. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...