Crystal Reports Sort Bindings

I saw a post here regarding problems with sorting and I am having what I believe is a slightly different issue (or maybe not understanding the question).
Anyway, I created a report in Crystal Reports 2008.  When I did so, I added sort bindings to a couple of the document headers (document number, revision).  Running the report in Crystal Report, I see a sort control (two arrows) that allow me to sort by the Document Number or the Revision. 
When I tried to create a simple form in VS for this report, I used the Crystal Reports Viewer in the Reporting section of the Toolkit and selected my *.RPT file as the source.  When I run the app in debug, it prompts me for the parameters for filtering (yeah!) and the database connect string, but it does not allow me to change the sorting order.  The data appears and it looks great, except that I can't sort it.  Any ideas how to add this? 
Is there maybe an incompatibility between Crystal Reports 2008 and VS 2008?  I did notice that when I tried to edit the *.RPT file from within VS, it says something about the *.RPT file being a different version, but it seems to open it properly.

Looks like you have an issue with the correct CR assemblies. The version of the CR 2008 assemblies should be 12.x. I suspect is you check this out, you'll see that your app references 10.5. To resolve this, reinstall CR 2008. Not knowing the sequence of install, it may be that CR 2008 was installed before .NET(?).
Ludek

Similar Messages

  • Crystal Reports sort by group headers

    Hi Experts
    I have created a crystal report with 16 groups. Instead of sorted each group, i need to sort the list of groups by the 16 fields. is this possible? If so, how?

    Hi,
    I may be wrong by how the report may be reviewed if there are 16 columns to be sorted. It is seldom that a report have more than 10 columns to sort so that the report is still readable.
    Thanks,
    Gordon

  • Dynamic Sorting on Multiple filed in Crystal report 2008

    Hi
      I am using Crystal report 2008 sp3 full build with hotfix 3.3 along with ASP.NET 2.0
      I have implimented the multi filed sorting using the record sort export and setting the sort order in the report designer.
    Now my requirement is such that i would like to have dynamic sorting on multiple fileds while report is displayed in the UI.
    Means suppose i have a report with Customer region,name,city,rating,status etc.
    Now by using the sort control  i would like to have the functionality in such a way that if user
    a)  first sorts on the region then the records should be first sorted by region
    b)  then sorts on the city then the records should be sorted first by region then by city
    c) now sorts on the  rating then the records should be sorted first by region ,second by city and then by rating
    Now other user may do
    a) first sorts on the rating then the records should be first sorted by rating
    b)  then sorts on the status then the records should be sorted first by rating then by status
    c) now user sorts on the  region then the records should be sorted first by rating,second by status and then by region
    and so on the sorting criteria changes from user to user through the UI.
    Is there any way to achieve the dynamic kind of sorting with Crytsal report 2008 where we can set the order of the fileds at sorting in UI dynamically .The sorting order of the fields are not known at the time of design of the report and its completely depends on the user's need.
    Please let me know if you require any information on the same.
    Regards,
    smitha

    Hello,
       Good Day!
       Thanks for your answer.
       Could you please explain me in detail how to achieve this functionality?
       Do i need to create a static parameter?
       I  get my data set through the command option in crystal report.So i think i need to go by formula in the report.
       i am just putting down the steps to follow.Please correct me if i am wrong.
      step1 :Create s static parameter with the name SORT.
    step2: create the formula as you have mentioned like     
        (IF {?Sort}='Vendor Number' THEN {Pr_Voucher_Status;1.Vendor_Key}& " "& {Pr_Voucher_Status;1.ap_remt_key}
        & " " & {@date}
       else
        IF {?Sort}='Invoice Number' THEN {Pr_Voucher_Status;1.ap_vchr_invno}& " " & {Pr_Voucher_Status;1.Vendor_Key}&
        " " &{@date}
       else
       IF {?Sort}='Invoice Amount' THEN {Pr_Voucher_Status;1.ap_vchr_amtc}& " " & {Pr_Voucher_Status;1.Vendor_Key}&
         " " &{@date})
        I could not  understand what this formula is really doing .
        Could you please tell me what the following names indicates? :
                  Pr_Voucher_Status :- Table/Command name ??
                  Vendor Number,Invoice Number etc.. :-  ??
                 Vendor_Key,ap_vchr_invno,ap_vchr_amtc .. :-  Filed names ??
                 use of 1.{} :- ??                              
    step3: place the below formula in the page header  to display the sort order
        (if {?SORT}='Vendor Number' then "Vendor Number, Remit To, Invoice Date"
              else if {?SORT}='Invoice Number' then "Invoice Number, Vendor Number, Invoice Date"
              else if {?SORT}='Invoice Amount' then "Invoice Amount, Vendor Number, Invoice Date") .
    Note:-My report does not have grouping.Do i need to have grouping?
    in this case how the sort control will work  ?
    As i have mentioned in the first post the order of sorting is completely depends on the user's perspective .
    The report is used by the whole organization ..
    i mean the people with different roles like Manger,Team leads,modul leads,developers ,testers etc..
    the usage of report varies according to the roles so the sort order also.
    Regards,
    smitha.
    Edited by: smitha thomas on Mar 16, 2011 5:01 AM

  • Sorting the list of value like in BEX but out of crystal report

    All,
    I have created a crystal report base on a BEX query where I have a variable for which  i am filtering base on a field period.fiscalyear.
    for the list of values that prompt you for this variable ...
    l in BEX we can do the sort by either alphabetical ascending order or descending alphabetical order such as:
    here is for ascending
    001.2008
    001.2009
    or by clicking on it we can do the following: (descending)
    012.2009
    012.2009
    however in crystal when refreshing the report in infoview it sorts the list of value base on the month
    something like this :
    JAN 2008 [0FISCPER].[K42008001]
    FEB 2008 [0FISCPER].[K42008002]
    We would like to have in crystal the same behaviour than in BEX,  so in crystal we would like to be able to get the list of values sorted in either ascending order to descending order. is there a way to do so ?
    notes also that we would like to avoid to create the variable in crystal
    Philippe

    Hi,
    in Crystal Reports you have per InfoObject - depending on the definition - the key value, the description and the member unique name. In BW these objects are defined as NUMC in most cases - which means it is a character / string.
    In your example the value is 001.2008 and 001.2009. What you can do in Crystal Reports is to split up the values into year and month and then sort based on the actual numbers.
    Ingo

  • Sorting the Crystal Reports

    Dear Sir
    Iam woring on crystal reports version-13 my problem is how to working the sorting(ascending order and descending order ) in  the crystal reports please help me

    See if the demo [Sorting and Filtering
    |http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/504d77eb-892a-2d10-c0b9-c9b6da1e1ffa] will help.
    Also, see the Developer Help files:
    http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/xi4_rassdk_net_api_en.zip
    http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/xi4_rassdk_net_dg_en.zip
    http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip
    http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal reports graph sort order

    I have 2 fields called fiscal year and fiscal month.
    Expected sort order - sample values:
    Fiscal year     Fiscal Month
    2011     5
    2011     5
    2011     6
    2011     7
    2011     8
    2011     9
    2011     10
    2011     11
    2011     12
    2012     1
    2012     2
    2012     3
    2012     4
    2012     5
    2012     5
    Current sort order- shows up incorrectly by default
    Fiscal Year  Fiscal Month
    2011          10
    2011          5
    2011          6
    2012         12
    I will be using these values in a graph and I created a new formula column called time PEriod that I will be in the
    x axis of my graph (mid({query.fiscal_mth_nbr1},1,3)) . the output of this formula is Oct,Nov, Dec,Jan,....Oct
    Without the year, but it still needs to be sorted in the first sample values order , since fiscal year starts in Jun and ends
    in July. We are now in fiscal year 2012 , fiscal month 6
    I tried sorting the value inside crystal reports by going to design view and applying sort. But it does not take the
    sort order. Can you please suggest the best way to keep the sort order. The data is coming from a universe and I even tried
    to sort the data from the universe by using order by, but the database would not let me use order by  that in a derived table within the universe.
    Edited by: developerbo1 on Nov 14, 2011 7:19 PM

    hello,
    the best way to get the correct dynamic sort is by using a two digit month in your conversion. for example
    totext({table.datefield}, 'yyyyMM')

  • Crystal Reports Cross-tab Sort?

    Hello,
    I am new to Crystal Reports and I canu2019t figure out how to sort a column on a cross-tab. 
    How can I sort in descending order the Total columns on a Cross-tab? E.g. will like to show the Product Names by the total amount of sales and not by alphabetical product name. 
    Rows: Product Name
    Columns: Region
    Summarized field: Total Sales  (this is the column I will like to have in descending order)
    If this cannot be done, what is the best way to solve this issue?
    Thanks!

    Hi Sorell,
    I tried this, I right clicked on the table border, and clicked group sort, For this group sort I choose All and selected the measure amount and descending. This sorted amount table by the total column for me based on the highest product revenue.
    Hope this helps
    Regards
    Alan

  • Crystal report viewer stop grouping (sorting) when there is a lot of data

    Hi,
    Here is my problem, when I try to view a report that uses grouping and sorting on the Crystal Report Viewer (web), if the query returns more then 490 records then all the groups are screwed up. Basically all the records are in the report but they are not in the proper groups and they are not sorted. It seams like it's running out of memory and just gives up.
    The same report works fine in the Crystal Reports 2008 designer tool.
    Is there a way to increase the memory of the Crystal Report Viewer (web) or is there something else I can do about that?
    Thanks

    I installed the Crystal Report plug-in on my Eclipse and I ran my report in it. Then I got this error:
    Original Order Grouping: Modifying groups with original order grouping is not fully supported.
    Change all groups with 'Sort property to a value other than 'Original Order', or modify the report grouping in the Crystal Report designer application.
    So I modified my report to remove the "Original Order ".
    That seam to fix the problem, I havenu2019t been able to reproduce it since.
    Thanks
    /Yannick

  • Crystal Report. How to create sort field programmatically?

    After updating CrystalReports to version 13.0.10 I noticed a strange feature in Details section. I'm filling in the Subreport Details section from the User Table. Previously the data was displayed in the order it was in the database. Every time I open the report data now it is displayed in a different order. There is a huge amount of crystal report documents and I am not able to change each document. Is it possible to add a new sorting field programmatically? (I found only how to change existing sort fields)

    Hi Aliaksandr,
    I used the top right corner search box on this page and enterred "sort, field, runtime, crystal, sdk, .net" keywords.
    Here are the first three results.
    http://search.sap.com/notes?id=0001201611&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031323031363131
    http://search.sap.com/notes?id=0001638023&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031363338303233
    http://search.sap.com/notes?id=0001613588&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031363133353838
    Complete search is here.
    http://search.sap.com/ui/scn#query=sort%2C+field%2C+runtime%2C+crystal%2C+sdk%2C+.net&startindex=1&filter=scm_a_site%28scm_v_Site11%29&filter=scm_a_modDate%28*%29&timeScope=all
    Please search before posting.
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Crystal Report integrated into SAP but Menu not sorting well

    Dear Expert,
    I am worry about the Crystal Report menu displayed from SAP B1;
    May I know the sorting rule? because it's not sorting by name or by adding date; and it looks not well organized now for users to choose reports.
    Thanks in advance.
    Best regards,
    Michelle

    Hi Allen,
    Try to browse this link:
    https://www.sdn.sap.com/irj/sdn/businessone?rid=/webcontent/uuid/807d22cb-cb1d-2b10-8794-fb76d7feca88
    beside the thread provided by Gordon.
    I am sure the real Crystal Report that will launched with SAP B1 2007A product CD in the last August have been improved and different with the free trial. So, I suggest to browse SAP service market place to know more if it is available in your country
    Rgds,

  • Migrating from Crystal Reports Charts using TopN and "Other" to Reporting Services

    I am currently migrating several Crystal Reports that have charts.  The chart series is set to use the TopN values in a count, and combine the rest of the series into one series titled "Other".  I see how to filter the chart using TopN, however I need to still show the rest of the data grouped as "Other".  I think the solution I need is to create a group expression that uses some sort of IIF function to create the "Other" group, but I haven't found a function that I can use to get the results I need.  Any ideas?
    Scott

    We were looking at report deployment options and evaluating SSRS vs Crystal Report Server.  There were several reasons we decided to go with SSRS:
    Cascading Parameters
    Ability to use multiple data sets in one report
    SSRS seemed more user-friendly than CRS
    There were a few other considerations I can remember now, but the final reason was price.  My company already had the licenses for SQL Server.  However, even if that was not a consideration I still would have gone with SSRS.
    Hope this info helps.
    Scott

  • Can not view/schedule Crystal Reports in new BOE XI 3.0 Installation

    Hello,
    I'm having an issue on a brand new installation of BusinessObjects XI 3.0 on AIX 5.2 (using WebSphere 6.0). Installation went smoothly and migration went fine. Can log in, pull up CMC, InfoView (all other apps). But scheduled Crystal Reports (as well as viewing Crystal Report thru InfoView) are failing with the following errors (which to me seem interrelated):
    *(1) Error in File ~cec0c55d91e0e015.rpt: The request could not be submitted for background processing*
    *(2) Error in Report XXX: Failed to load database information*
    *(3) An error occurred while creating a subprocess in the processing server. [RCIRAS0604]*
    These three errors indicate to me that the report engines are having issues opening the files, pulling the data and generating the reports. We've checked to make sure that the account that BOE is running under has all the permissions it needs - and it has.
    I just turned on tracing (-trace) on the report job processing servers and I'm watching the logs as I retrace my steps...
    Any ideas? Would appreciate any feedback...
    Thanks,
    Will

    Turns out this is a pretty nasty issue on Unix environments. Being that the BOE application is developed on Windows then ported to Unix environments, the services (daemons) still end up depending on an emulated registry (MainWin) sort of like in a Windows environment.
    For some reason (we're still trying to figure this out), the BOE registry entries got corrupted and then started preventing the processing servers (which in the case of CR ultimately depend on  CRPE - Crystal Reports Print Engine) from opening up and processing CR files.
    We engaged BusinessObjects/SAP support and have been able to resolve this issue on our test AIX system. The resolution included deleting all the mainwin (mw) tmp directories and files in the root temp directory and also in the
    /bobje/enterprise120/aix_rs6000/crpe>
    directory. Then we stopped all BOE services and reran the MW script to regenerate registry entries. This repair was a pretty intricate multi-step process. The SAP Technical Rep who worked on this case is writing a knowledge base article (an SAP note). Once I get details, I'll update this post.
    The good news about this issue is that the upcoming SP1 of XI 3.0 removes the dependency on the mw registries...
    Will

  • Two problmes between  Crystal Reports 2008 and Bex Query

    Hi Gurus.
    I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
    1)     I have defined some Parameters Fields using the follow options:
    Type: String
    List of Values: Dynamic
    Value Options Level1:
                         Show on (Viewer) Panel :Editable
                          Prompt text: <text>
                          Sort Order: Ascending by value
                          Prompt With description Only : False
                          Optional Prompt: True
                          Allow multiple values: True
                          Allow discrete values: True
                          Allow range values: False
    When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than  the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
    There is any option to ability this option in the infoview.
    2)     My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
    Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
    Thanks.

    Hi Abhilash.
    Thank you for your information.
    1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
    2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
    Thank you again.

  • Performance Issue Crystal Report and Oracle

    Hello,
    We have one procedure that takes 3 input parameters and returns Cursor from Procedure that is used to design the report. There is no caluculation involved here and cursor is opended dynamically. We are using Oracle Native connection.
    When we click on preview button it takes lots of time ( >10 Mins) to show complete data. While we call the same procedure in application and generate HTML report using Cursor returned it is done in < 15 Seconds. Can some point me where to look into to improve the performance of Crystal Report.
    DB: Oracle 10G
    CR: Version XI

    Hi Vadiraja
    The performance of a report is related to:
    External factors:
    1. The amount of time the database server takes to process the SQL query.
    ( Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports. )
    2. Network traffics.
    3. Local computer processor speed.
    ( When Crystal Reports receives the data set, it generates a temp file to further filter the data when necessary, as well as to group, sort, process formulas, ... )
    4. The number of record returned
    ( If a sql query returns a large number of records, it will take longer to format and display than if was returning a smaller data set.)
    Report design:
    1. Where is the Record Selection evaluated.
    Ensure your Record Selection Formula can be translated in SQL, so the data can be filter down on the server, otherwise the filtering will be done in a temp file on the local machine which will be much slower.
    They have many functions that cannot be translated in SQL because they may not have a standard SQL for it.
    For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated in Crystal Reports. But if you use an IF THEN ELSE on a parameter, it will convert the result of the condition to SQL, but as soon as uses database fileds in the conditions it will not be translated in SQL.
    2. How many subreports the report contains and in section section they are located.
    Minimise the number of subreports used, or avoid using subreports if possible because
    subreports are reports within a report, and if you have a subreport in a details section, and the report returns 100 records, the subreport will be evaluated 100 times, so it will query the database 100 times. It is often the biggest factor why a report takes a long time to preview.
    3. How many records will be returned to the report.
    Large number of records will slow down the preview of the reports.
    Ensure you only returns the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
    4. Do you use the special field "Page N of M", or "TotalPageCount"
    When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page of the report before it displays the first page, therfore it will take more time to display the first page of the report.
    If you want to improve the speed of a report, remove the special field "Page N of M" or "Total Page Count" or formula that uses the function "TotalPageCount". If those aren't use when you view a report it only format the page requested.
    It won't format the whole report.
    5. Link tables on indexed fields whenever possible.
    6. Remove unused tables, unused formulas, unused running totals from the report.
    7. Suppress unnecessary sections.
    8. For summaries, use conditional formulas instead of running totals when possible.
    9. Whenever possible, limit records through selection, not suppression.
    10. Use SQL expressions to convert fields to be used in record selection instead of using formula functions.
    For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports. SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
    11. Using one command as the datasource can be faster if you returns only the desired data set.
    It can be faster if the SQL query written only return the desired data.
    12. Perform grouping on server
    This is only relevant if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
    Regards
    Girish Bhosale

  • Report: sorting of data and temporary table sorting

    We have a report that runs a procedure, which inserts data into a temporary table using the supplied parameters. The report then selects data from this table.
    Previously the report has always displayed data in the same order in which it was inserted into the table, even though no sorting is specified by the report itself. I realize that the report itself ought to specify the sorting in order to guarantee it, but this has worked in the past.
    As part of an application/Oracle upgrade the report has been recompiled. Data is now displayed in a different order as before. However, each time we run it now, it IS the same (new) sorting. So it's still consistent, but consistent in a different way than before.
    Is there some way to go back to the old sorting (display in same order as inserted into table) - without having to re-code this (and all the other) reports in order to specify the sorting? We think that data is still inserted into the temporary table in the same order as before. We are using the same version of Crystal Reports.
    Edited by: user489847 on May 31, 2010 4:01 AM

    Crystal Reports.This is the Oracle Reports forum.
    Anyway, I have seen this in one of our applications too. Suddenly the ordering was different, because there was no explicit order by. There is never a guarantee of the ordering if you do not specify it.
    You should ask this in the database forum too, since this is not really Reports related.

Maybe you are looking for

  • How can I find Bitlocker External Key File location?

    My Windows 8.1 PC includes a system drive and data drives. All the drivers were encrypted using Bitlocker with the data drives set for autounlock.  I recently decrypted the system drive (without decrypting the data drives) and reinstalled the OS, aft

  • Shared Mailbox migrating from Lotus Notes to Exchange

    We currently have Lotus Notes and in the process of migrating to Exchange Server 2010. We are using the Quest Notes Migrator for Exchange and the Quest Coexistence Manager for Notes tools. One of the issues we're coming across is Shared Mailboxes.. C

  • Notes on my iphone

    How can i transfer all my notes on my iphone to my computer and remove them on  my iphone

  • How can I change the location of the message filestore?

    The MQ default message store is located at /var/imq/instances/brokerName/filestore/ on Solaris. Is there a way that we can change this location? Thanks.

  • Convert field type on screen..

    i have a field on screen of numc type..but i wanted to display 0 on screen field.so i went to screen attributes and changed the format to char type..now i can display '0' also..but i'm getting error like " Invalid Field Format (screen error)"..now wh