Sorry.... must have been asleep when I was thinking about this one - incase you want to know you have to list the sort types in the TopN tool in crystal under the ALL option. Then tell the report at runtime which sort to apply to the data - '0' is the first sort option in crystal...
Hi,
I am trying the set the summary value in the report to be used to determine the topN records.
Eg
sum Sales$ sum GP$ GP%
How can i parse a value so the topN can be changed at runtime by the end user. So order by sum Sales or sum GP$
Cheers
Dan
Thanks to everyone that made a effort... but I found how to do it in VB.NET the c# stuff helped get me on the right track.
This works for me.
...
...
..
rptLogin(crReport.Database.Tables)
.....
..
.
Sub rptLogin(ByVal crTables As Tables)
Dim crConnectionInfo As New ConnectionInfo()...
Hi guy's,
Think this is a easyone for all the code masters....
I am trying to run my Crystal Reports in a VB .NET application. I have worked out how to supply the report with the parameters, but I havent been able to work out how to 'give' the report the database connecting. So at the moment...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.