Finding equivalent of Crystal's Next function in Reporting Svcs

  • Hii,

    Can anyone tell me how to find the next instance of a field in reporting services. I know it can be done in rpt using the Next FUNCTION but in rdl I am yet to find its equivalent. Thanks in advance :)

    -Meghna

  • Hii Meghna,

    There is no way we can find Next record in reporting svcs.

  • What were you trying to do?

  • Actually i m doing migration frm crystal to SSRS so i cannot modify the stored proc , i need the function or some way to get the nxt value of the field which i pass frm the front end.

    have u done this , or can u give me logic of hw its possible?

    In SSRS , there is no inbuilt NEXT function as in crystal report.

    Any help will be highly appreciated!

    -Meghna

  • if you can invert your logic, you can use Previous() to find a value from the prior row.

    row 41, person=john: Crystal's next( person ) returns 'sally'

    row 42, person=sally: SSRS' previous( person ) returns 'john'

  • No, i want the next row of the current field, can u tell me how to implement this?

  • Hi Meghana,

    I am also trying to find the next function in RS. Have you found any alternatives?

    Thanks.

  • Yes i got the solution from my colleague , wait will ask him and post you quickly.

    Thanks

    -Meghna

  • Hey, I'm having the same question/problem. Have you come up with a solution?

  • I am yet to hear the solution from Meghna.

  • Hi Ravi,

    Did you have any information regarding NEXT function? If yes, then please send ASAP.

    Thanks,

    Hemant

  • Hi Meghna,

    Whether you got solution for this issue, Please reply ASAP

    Regards,

    Poorni

  • Hi Hemant,

    Send me an email on ravitalele@yahoo.com.

    Ravi

  • HERE WE GO!!

    BELOW IS THE ATTACHED XML CODE OF RDL WHICH IMPLEMENTS ABOVE

    THANKS

  • Although it is not a technical solution, but may work for you;-)

    1- Sort your data set vise versa (i.e. if it is sorted by PK descending, then sort it by PK ascending and vise versa)

    2- Use Previous function.

    :hehe:

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic. Login to reply