Man that was so easy, don't know why it took me so long but finally made it. It works flawlessly, just one more final question : when i sort by "State" it groups all the ones that have the same state, is there any way to sort by 2 fields ? Like State and OrderNumber
I'm trying to do this but i'm facing some big problems...First of all, i have a field on my table that indicates what order to use, can i use that to replace the sort paramater ? Something like this :
If {myTable.sortOrder} = 1 then..
Second question, where do i create the formula ? Is it...
I only have 1 group but i cannot sort it dynamically with a formula on cr, i tried and i can only change the order (ascending/descending). What can i do to sort it by different items ? For example i need to sort it by OrderNumber, Name, and Date.
Ok, sorry for me being not accurate.
I'm using vb6 and cr XI.
I've got a form that create a table that i pass trough a report in order to print it. In my program the user can select in what order sort the data (it's a combobox and a field in my print table).
What i need is to sort the data...
Hi, everybody i'm trying to do a sort the data to be print with Crystal Report
.Show
Set Report = Crxapp.OpenReport(mypath, 1)
.ReportViewer.ReportSource = Report
Set crFormulaField = Report.Database.Tables(1).Fields(24)
Report.RecordSortFields.Add crFormulaField...
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.