Mapping Access 2010 Query Expressions In Crystal Reports

Hello,
I am new to Crystal Reports.
When I change the datasource of a Crystal report to an Access 2010 query that has an expression in it, it is not able to map that calculated field. The expression in question is a simple iif statement that yields a yes or no, given the condition that's met. It works fine in Access and is very basic.
But I can't get it to map in Crystal - so I tested it by changing the expression in Access to defect:"x" - even simpler. It still shows up in Crystal as unmapped when I point to the query and hit the Crystal update button.
Can Crystal map expressions in an Access 2010 query, or does it just handle straight table fields that occur in a table or query?
Regards,
Dan

Hello Dan,
When pointing your report from one data source, to another one, the reason it does not initially map the field, it is because they are seen as defined with different data type. One is defined with 255 characters, and the other one is seen as a Memo. In the "Map Fields" window, uncheck  the option "Match type", and you will then be able to map your expression field manually.
Note that the MS Access provider, send the information to Crystal Reports regarding the data type, and the fact it is different, it is because the provider used send different information to Crystal Reports, and if a field is defined with more than 255 characters, it will be seen as a memo field.
There is nothing that can be done in Crystal Reports to change the data type as it is provided by the database provider.
By design, it does not list a memo field as a database field you can group by, because large string generally contains a description, comments, ... and this type of information is generally always different, so there is no reason to group by those field with that data type.
Having said that, it is possible to group by a formula that contains the memo field to give the flexibility to bring back a portion of the characters that the memo field contains. To do so:
1. Create a formula that uses the memo field like:
     {Database.MemoField}   
2. Save and close the formula.
3. Under the menu "Insert", select "Group"
4. In the "Insert Group" window, select the formula created in the previous
steps to group by.
This information is available in the SAP Knowledge Base Article:
     1214731 - Unable to group on a memo field in Crystal Reports
I hope the above information answered your questions.
Patrick

Similar Messages

  • Accessing trend line formula in Crystal Report

    I am using Crystal Reports 8.5 and CR2008.  I have a report showing a trend line (specifically the quadratic regression).  I can show the formula that is being used for the report in the chart.  How can I access the regression formula in Crystal Reports?
    Thank you for your help.

    hi James,
    in short you can't...the charting engine is a separate 3rd party dll so what you see there is not necessarily available in the rest of cr in summaries etc.
    in order to do things like this, you either have to do the calcs on your database or using formulas. i've attached an example of linear regression that i did a while ago. change the .txt extension to .rpt after you extract the contents. sorry, there are no instructions on how to do this.
    on the attached sample though it does figure out the regression formula and also extrapolate data, show residuals etc.   there are a couple of other "fits" in a parameter but i never finished those as it made my head hurt
    -jamie

  • How to set path of MS-Access databse file dynamically in crystal report

    i have windows application and crystal reports and access database.when i connect crystal report to database through followingpath like
    \\machinename\FolederName\AccessDBFile.mdb..here machine name is my machine name(i.e:PCNAMe).but when i will deploy this application on cliet machine then how i can set the path to crystal report with his machine name dynamically..or is
    there any other provision to do this so that i can set it dynamically.
    one more thing i want to tell you is that i wwant to share database on multiple machines so how can i do that.

    Hello,
    Crystal reports is for a long time not anymore supported by Microsoft. 
    Moreover for sure not in this forum for api's components and classes for the user interface Windows Forms
    Try direct the SAP community for Crystal reports for .Net
    http://scn.sap.com/community/crystal-reports
    Success
    Cor

  • Issue with SAP Integration Kit 3.0 to access Query BW on Crystal Reports

    Hi All,
    I've got an problem with my setup of Crystal Reports Server 2008.
    I've install Crystal Reports Server 2008 and Crystal Reports 2008 on my Windows 2003 server.
    My SAP Client is 7.1.
    When i trie to connect my Reports on CR 2008, the connection doesn't work.
    I have install SAP Integration Kit but it doesn't work because an error message says me that i've already install a Webserver for Crystal Reports Server 2008.
    My Webserver is on IIS 6
    My Database for CRS 2008 is SQL Server 2000.
    Do you have any idea why it doesn't work ?
    I have to install first my SAP Integration Kit 3.0 before install Crystal Reports Server 2008 ?
    Thanks a lot for your help.
    Regards.

    Hi All,
    I've got an problem with my setup of Crystal Reports Server 2008.
    I've install Crystal Reports Server 2008 and Crystal Reports 2008 on my Windows 2003 server.
    My SAP Client is 7.1.
    When i trie to connect my Reports on CR 2008, the connection doesn't work.
    I have install SAP Integration Kit but it doesn't work because an error message says me that i've already install a Webserver for Crystal Reports Server 2008.
    My Webserver is on IIS 6
    My Database for CRS 2008 is SQL Server 2000.
    Do you have any idea why it doesn't work ?
    I have to install first my SAP Integration Kit 3.0 before install Crystal Reports Server 2008 ?
    Thanks a lot for your help.
    Regards.

  • How can I get Visual Studio 2010 to work with Crystal Reports?

    Hi,
    My office upgraded to Windows 7 and Visual Studio 2010 and now I can no longer write front end programs to Crystal Reports version 10.   Does anybody know if there is a a workaround?   Also, our version of Crystal Reports is 32 bit but the new desktop machine I have is 64 bit so there may be issues accessing the Crystal Reports DLLs which are now located in the Programs (x86) folder.
    It's all such a gigantic mess that I don't even know where to begin.   Visual Studio 2008 had Crystal Reports in it so it was real easy.
    Dave

    Try searching first before posting. CR for Visual Studio 2010 download is available on the OverView tab. It's a free install, we don't ship in VS now, it's still a plug in so you can't use VS 2010 Express version, MS doesn't support plugins in Express versions.
    Runtime files will be version 13 and should update your app without issues.
    Install VS 2010/2012/2013 first and then run the first link in the download page. Don't instlal just the runtime redist MSI, it will not integrate into VS.
    Also, set your Project for x86 and not any CPU and use the full .NET Framework and not the client version.
    Don

  • Error while accessing oracle packaged procedure in crystal report./ How to

    Hi,
    When i tried to call a packaged procedure in crystal reports for .net, i am unable to access it.
    i am getting error as 'unknown query engine'
    In that packaged procedure i have a two IN parameters and one OUT TABLE parameter ( which is declared in package specification )
    And when selecting the packaged procedure in crystal report,the wizard shows all the parameters like the IN parameters, and when i just leave it blank. i unable to set into report.
    ie., the OUT table type is shown as IN paramters (Actually it is an output and has field fields in it.)
    And No fields are coming in the Fields Explorer of crystal reports in .net.
    can you provide any help.
    thanks and regards
    Mohan Raj K.
    Actually using vs.net 2005 prof.
    Message was edited by:
    mohanraj_k

    Actually the OUT Parameter type in the stored
    procedure is showing as IN Parameters and asking
    for input values in the crystal report creation
    wizard(while selecting the
    database,connection,storedprocedures/qualifiers).That sounds like a problem on the .net / crystal report creation wizard side of things. Oracle no doubt recognises them as OUT parameters, so it's not Oracle at fault. I would guess the .net stuff is just querying the data dictionary to see what parameters there are rather than differentiating between the INs and OUTs.

  • Sale Order Query Print layout/Crystal Report Query required

    Hi Experts,
    I created a Sale Order. Items included in it are service and material.
    (I created a BOM, bound the child material item to the parent service item. Moreover child item will have unit price where as parent item will not have unit price)
    I need the report on it please let me know how i can do it.
    I tried with below query
    select a.DocEntry, a.DocNum, a.CardCode, a.CardName, b.DocEntry,b.ItemCode, b.Dscription, b.Quantity, b.Price, b.LineTotal, a.DocTotal, a.VatSum 
    from ORDR a inner join RDR1 b on a.DocEntry = b.DocEntry
    --and b.TreeType <> 'N'
    where a.docnum = '14240621'
    output of above query is
    DocEntry
    DocNum
    CardCode
    CardName
    DocEntry
    ItemCode
    Description
    Qty
    Unit Price
    Line Total
    DocTotal
    Tax Amount
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302010001
    PROVIDING & LAYING
    17.62
    2493.76
    43940.05
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0001
    Material for PROVIDING & LAYING
    17.62
    2800
    49336
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    305010005
    BM CM INCLUDING CEMENT
    10.055
    1980
    19908.9
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0002
    Material for BM CM  INCLUDING CEMENT
    10.055
    1650
    16590.75
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302040001
    P/APPLYING
    65
    116.5
    7572.5
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0003
    Material for P/APPLYING
    65
    65
    4225
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    301000001
    P& FIXING
    2.233
    31625.05
    70618.74
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0004
    Material for P& FIXING
    2.233
    44000
    98252
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    306010001
    PROVIDING RMC
    3
    3593
    10779
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0005
    Material for PROVIDING RMC
    3
    4847
    14541
    354652
    18888.46
    and my desired output is
    Unit price of both child item and parent item should be display in single column. ie. cumulative in Unit Price Column and Linetotal respectively.
    DocEntry
    DocNum
    CardCode
    CardName
    DocEntry
    ItemCode
    Description
    Qty
    Unit Price
    Line Total
    DocTotal
    Tax Amount
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302010001
    PROVIDING & LAYING
    17.62
    5293.76
    93276.05
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    305010005
    BM CM  INCLUDING CEMENT
    10.055
    3630
    36499.65
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302040001
    P/APPLYING
    65
    181.5
    11797.5
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    301000001
    P& FIXING
    2.233
    75625.05
    168870.7
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    306010001
    PROVIDING RMC
    3
    8440
    25320
    354652
    18888.46
    please let me know the update on this.
    with regards

    Hi Nagarajan,
    thanks for reply..
    1) Yes, i.e i have taken into BomType: Template
    2) i did not get any helpful output by using treetype by keeping 'S' and 'N', i kept in comment.
    3) Actually MT0001-05 - these are material item- unit prices are fixed. see in attached image
         for parent item, unit prices are not fixed. I give the price for them in Sale Order.
         I want unit price for parent and child should be summed/cumulative for Sale Order print.
         (in my above post, first matrix exactly same as sale order line items plz check it)
    Please help me, how i can achieve this by query(for PLd or Crystal report)
    With Regards

  • Geographical Map does not show up in Crystal Reports 2008 Viewer

    Hi,
    I'm facing a problem by creating maps with CR2008 SP2. If I export the report directly to an pdf or html file the map is shown properly. If I'm using the CR 2008 Viewer to open the .rtp file there's an error message like 'not supported object: geographical map'.
    Anyone else facing such problems?
    Thanks for help,
    Carsten

    Hi,
    Welcome to MSDN.
    I am afraid that this issue is related to third-party, and it is not supported in these forums.
    You could consider posting this issue in website of the publisher of that tool: http://scn.sap.com/community/crystal-reports.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Issues with Bex query structures and Crystal Reports/Webi

    Hi experts,
    I'm having an issue with Bex Query structures and nulls. I've built a Crystal Report against a Bex query that uses a Bex Query structure. The structure looks like the following
    Budget $
    Budget %
    Actual $
    Actual %
    Budget YTD
    etc
    if I drag the structure into the Crystal Report detail section with a key figure it displays like this
    Budget $     <null>
    Budget %     <null>
    Actual $     300
    Actual %     85
    Budget YTD     250
    the null values are displayed (and this is what is required). However if I filter using a Record selection or group on a profit centre then the nulls along with the associated structure component are not displayed.
    Actual $     300
    Actual %     85
    Budget YTD     250
    Webi is also behaving similarly. Can anyone explain why the above is happening and suggest a solution either on the Bex side of things or on the Crystal Reports side of things? I'm confused as to why nulls are displayed in the first example and not the second.
    Business Objects Edge 3.1 SP2
    SAP Int Kit SP2
    OS: Linux
    BW 701 Level 6
    Crystal Reports 2008 V1
    Thanks
    Keith

    Hi,
    Crystal Reports and Web Intelligence will only show data which is in the cube. You could have an actual 0 or Null entry whithout grouping but by changing the selection / grouping in the report the data does not include such entry anymore.
    ingo

  • How to execute SQL Query from the Crystal report X1

    Dear All,
    I am using crystal report X1. In my application am creating run time MS Access tables and giving table name at run time based on my requirement . From these tables I want to fetch data based on some condition and to display using crystal report X1. I have never used the SQL Queries in the Crystal reports. Please help me out.
    Thanks and Regards,
    Rahaneef T

    Please note;
    This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages).
    This looks more like a Crystal Reports design issue?
    Ludek

  • Best practise BW Query design for Crystal Reports integration

    Hi all,
    I am looking for a guide on best practices when designing a BW Query to be used as data foundation for a Crystal Report.
    The scenario is that I am responsible for developing the Crystal Reports part, but not the BW Query part, therefore I would like to provide a list of best practises to the person who is responsible for the Query, this way make sure that the integration will work as good as possible. The setup is of course using BO Integration Kit for SAP.
    An example is how to use authorization variables in the query to provide data security. This is just one example, there are problably a number of other things to be aware of. A document containing suggestions for best practices is what I am looking for, or if the document does not exist, input to what should be on such a list.
    Thank you in advance.
    Regards,
    Rasmus

    Hi Rasmus,
    in regards to the Best Practices for Crystal Reports you can leverage all the knowledge you have on the Query Design today already. if you not the person for designing the query I think it is important to make sure people designing the queries do understand how Crystal Reports is leveraging the elements from the BI Query.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    You should try to put as much as possible into the BI query from the logic point of view.
    and you can also build common BI queries - there is no need to build a BI query for each report.
    ingo

  • How to Jump (Drill-through) between WebI query (also in Crystal Report)

    Hi BO experts,
    I read that we can achieve drill-down in Crystal Report and WebI.
    But I have requirements here to jump (like RRI or Report to Report Interface) in BEx Analyzer and to pass some values (as parameter), i need to achieve:
    1. jump between WebI queries (in WebI)
    2. jump between Crystal Report reports (in Crystal Report)
    3. jump from Crystal Report to WebI
    I read that in WebI, jump can be achieved by just opening the URL of the receiver query, but we can't pass on certain values as parameter from the sender query to the receiver query (which is possible in RRI case).
    Has anyone ever done it before? Please let me know how to achieve it..
    Thank you very much.

    You can navigate beween report using Report Linking. This can be achieved through an Opendocument functionality.
    Using Opendocument, you can call a webi report from a parent webi report and then pass parameter's as well. Wigooglth the same feature you can invoke a crystal report also from a webi report and pass values.
    In crystal report also you can use Opendocument. However there are better features like sub-reports to do this.
    You can google for opendocument or search in SDN to get detailed documentation of OpenDocument.
    Anil

  • Accessing test.jsp page outside Crystal Reports for Eclipse

    <p><br />Hello All,</p><p>Iam very very new to Crystal Reports for Eclipse...</p><p>I have created a .jsp called as test.jsp (by using the help file which i downloaded from diamond)..</p><p>I have created a report called CrystalReport1.rpt and i have integreatd the same with a .jsp called test.jsp</p><p>I can see the file running absoultely fine in Eclipse but when I ty to open using Internet explorer by gidving <a href="http://localhost:8080/WebContent/test.jsp">http://localhost:8080/WebContent/test.jsp</a> iam getting nothing...</p><p>Can anyone here help to open the same file using Internet explorer?</p><p>The reason why i want to open it Internet explorer is becasuse i wanted to integreat the new jsp file with my current application which is developed using jsp...</p><p>Is it require to deploy the application something like we do in Visual Studio?</p><p>Thanks in advance</p><p>Jack<br /></p>

    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a>

  • Problems with Query Properties in Crystal Reports

    I have with the following features of my queries either problems or theyu2019re just not usable in Crystal Reports:
    -     If I want to use more than one hierarchy.
    -     If I want to use a selection on a hierarchy.
    -     All my hierarchies are always just a flatten list.
    -     If I want to use a predefined structure in a field.
    -     If I want to use any hierarchy versions .
    -     And if I want to use default / preselected values for variables in the prompt.
    Are there any solutions or workarounds for these problems known?
    I already tried to connect Crystal with the SAP BW via a Universe, via a direct connection and also via the SAP Integration Kit (with the MDX-flag set to active).
    Thanks a lot for helping me!

    Post your question to the Business Object Integration Kits forum

  • Cannot access BO Enterprise items within Crystal Reports

    Hello,
      Having searched the forums and being unable to find the appropriate solution to my problem I have decided to ask the question myself.
      I am using Crystal Reports version 11.0.0.895 and Business Objects Enterprise version 11.0.0.748.  When using Crystal Reports I can log on to the Enterprise server as Administrator and view the enterprise items.  I can easily browse through the list of reports but when I try to open one I get the following error:
    u2018The report could not be opened from BusinessObjects Enterprise.
    Possibly the report is on a different BusinessObjects Enterprise system that the one you are currently logged onto.  If this problem persists, please contact your administrator.u2019
      The other option available to me is u2018Manage Objectu2019 and this works just fine where I can view the history, schedule, etc.
      I suspect I need to do something with the server itself but I am unable to determine what exactly is required.  Please advise.
    Regards,
    Declan.

    Hi Declan
    For the folder on which the error is returned, please ensure that there is no rights problem with it.
    In the report section, the "download files associated with the report" right should be set to "explicitly granted".
    Thanks.
    Regards
    Girish Bhosale

Maybe you are looking for