"SQL Expression Fields" branch missing from Formula Workshop/Field Explorer

Hello,
I am using Crystal Reports XI R2 SP3.  Some recent information I have seen suggests that I should use a feature called "SQL Expression Fields".  If I search the built-in Crystal Report help for "SQL Expressions", on the help pages I see that there is a "SQL Expression Fields" branch in the left pane of the Formula Workshop, just under Formula Fields and just above Selection Formulas (it's unfortunate that I cannot embed a bitmapped screen print of this).  The left pane of the Formula Workshop looks like this:
Report Custom Functions
Repository Custom Functions
Formula Fields
SQL Expression Fields
Selection Formulas
Formatting Formulas
However, in my local copy of Crystal Reports the SQL Expression Fields branch does not exist - the left pane of the Formula Workshop looks like this:
Report Custom Functions
Repository Custom Functions
Formula Fields
Selection Formulas
Formatting Formulas
Is there some special patch, add-in or plug-in that's necessary to enable this functionality?
Thanks in Advance,
Bob Gardner

I set up a DSN to a local MS Access database and used it for an ODBC connection.  Once connected, the SQL Expression Fields branch was available in Field Explorer and Formula Workshop.
But I am developing reports for an ERP system that uses Oracle 10g databases - I have no choice but to use Oracle 10g databases as data sources for my reports.  I am not sure how to set up an ODBC connection to an Oracle database as I have never had to do so - will SQL Expression Fields not work with the native Oracle driver?
Thank you,
Bob Gardner

Similar Messages

  • MissingFieldException[ The following required field is missing from the lau

    Hi, I'm new to this forum so please put this thread in the right place if I have made a mistake.
    But here's my problem:
    I'm using jre 7 with the latest version.
    I downloaded and wanted to launch a Java based .jar game, which runs perfectly for the other users but my JRE gives the following error:
    Application error - unable to launch the application.
    MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main.access$000(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    On the forum where is the game developed i got the following answer:
    ''+it seems your OS/jre installation tries to start the jar as an applet which fails, because it's a regular application and not an applet. is there any way you can convince your jre to start LS as an application? i would like to give better/more detailed advice, but i'm not running windows, so i can't check for myself/try to work out a step-by-step guide.+ ''
    As I have browsed the internet for hours and haven't come up with a solution I'm asking for some help.

    That error seems to indicate that the JNLP file is broken because it is missing the starting starting <jnlp> XML tag; I'll take a guess and just say that it is completely empty. Since it works for other users, apparently somehow when you download it on your computer you end up with a broken file. No idea why, no way for me to know why either. I don't have access to your computer. All I can say is: try in another browser and if that doesn't work, try on another computer. If it works there, well then you may have to face the fact that your computer might need a clean install.
    And PS: this is a Java programming forum, not technical support for whatever game you want to play that just happens to use Java.

  • Error: The following required field is missing from the launch file: jnlp

    PLEASE help me.
    I was at Starbuck's today trying to install new software for my new wireless internet card and when I finished I could no longer access any of my applications that require java... I have a macbook pro dual platform computer. When I try to access www.bayphoto.com to download my application it says: (see below) (which I think is strange because it's all about Starbuck's and it should be my java code- I think...). Like I said - I have no idea what's going on or how to fix this. Please help me or at least tell me whom to call- I feel so stupid- I just need help- ATT? Starbuck's? Sun?
    Error: The following required field is missing from the launch file: <jnlp>
    Under the "exceptions" tab it says:
    MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
         at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:88)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:72)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:214)
         at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:127)
         at com.sun.javaws.Launcher.launch(Launcher.java:95)
         at com.sun.javaws.Main.launchApp(Main.java:305)
         at com.sun.javaws.Main.continueInSecureThread(Main.java:213)
         at com.sun.javaws.Main$1.run(Main.java:108)
         at java.lang.Thread.run(Thread.java:613)
    Under the "launch file tab" it says:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>AT&T Wi-Fi Service @ Starbucks</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="Starbucks Entertainment presented by AT&T Hotspot" />
    <meta name="keywords" content="AT&T, Starbucks, Wi-fi, Wifi, Hotspot, coffee, music, books, games, fresh sheet, third place, online" />
    <meta name="author" content="Starbucks Entertainment" />
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
    <script type="text/javascript" language="javascript" src="/dhtml/master.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_core.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_event.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_xhr.js"></script>
    <script type="text/javascript" src="/dhtml/att/dhtml.js"></script>
    <style type="text/css">
    copied from starbucks master.css
    body {
         background:#200D06 url("/graphics/att/themes/sbux/hotspot_bkgd.jpg") repeat-x scroll;
         color:#555555;
         font-family:Arial,Helvetica,sans-serif;
         font-size:small;
         line-height:1.5em;
         margin:0pt;
         padding:0pt;
         text-align:center;
    #wrap {
         font-size:95%;
         margin:0pt auto;
         text-align:left;
         width:980px;
    #starbucksframe {
         margin:15px 0pt 0pt;
         padding:0pt;
    /*our addendae*/
    div#header {
         height:95px;
         width:980px;
         background-image:url("/graphics/att/themes/sbux/header_bg.jpg");
         background-repeat:no-repeat;
         margin:0px;
         background-top:0px;
         background-left:0px;
         background-color:transparent;
    div#btn_ctti {
         position:absolute;
         top:10px;
         margin-left:388px;
    div#sbux_lfrm {
         display:inline;
         font-size:10px;
         color:#FFFFFF;
         margin-left:245px;
         top:49px;
         position:absolute;
         line-height:10px;
         font-family:verdana,arial,helvetica,sans-serif;
    div#sbux_lfrm form {
         margin:0px;
    div#sbux_lfrm a, div#sbux_lfrm a:link, div#sbux_lfrm a:hover, div#sbux_lfrm a:active, div#sbux_lfrm a:hover {
         color:#FFFFFF;
    div#sbux_lfrm form label {
         display:none;
         visibility:hidden;
    div#sbux_lfrm form input, div#sbux_lfrm form select {
         font-family:verdana,arial,helvetica,sans-serif;
         vertical-align:middle;
    div#sbux_lfrm input.example {
         color:#656565;
    #sbux_lfrm_row1, #sbux_lfrm_row2 {
         margin:0px;
    #sbux_lfrm input#username, #sbux_lfrm input#password, #sbux_lfrm input#password_pw {
         width:136px;
         margin-right:6px;
         font-size:10px;
    #sbux_lfrm select#roamRealm {
         width:130px;
         font-size:10px;
         color:#656565;
         margin-right:6px;
    #sbux_lfrm_row2 {
         position:absolute;
         top:21px;
         left:-4px;
    div#aupAgree_row {
         margin-top:4px;
         position:relative;
         left:-4px;
    div#aup_box {
         float:left;
         position:relative;
         top:-3px;
    div#aup_text {
         float:left;
         line-height:10px;
    div#tm_badge {
         width:115px;
         height:94px;
         float:right;
         margin-right:0px;
         margin-top:0px;
    div#password_value {
         display:inline;
    div#hidden_pw_field {
         display:none;
         visibility:hidden;
    div#sbux_lfrm.css_form {
         margin-top:0px;
    </style>
    <style>
    /* IE specs */
    body {
         font-size: x-small; /* IE5 Win */
         voice-family: "\"}\"";
         voice-family: inherit;
         font-size: small;
    html>body { /* be nice to Opera */
         font-size: small;
    /* self-clearing floats
    /* trigger hasLayout and target ie5+6/win only */
    *:first-child+html #header,
    *:first-child+html #login_wrapper {
         height:95px;
    #ny_legal {
         color:#CAC3BF;
         font-size:11px;
         font-weight:bold;
         padding:0;
    #ny_legal a:link {
         color:#CAC3BF;
         font-size:11px;
         font-weight:bold;
         padding:0;
    </style>
    </html>
    TOO LONG TO INCLUDE ALL CODE

    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="file:///C:\eclipse\workspace\studentconverter\webroot" href="studentconverter.jar" >two things wrong here -
    first codebase is not legal URL, File.separator (backslash on windows) needs to be converted to forward slash in URL's.
    second, the href is not to the jnlp file, it is to the jar !
    href="studentconverter.jar" - should this be href="studentconverter.jnlp" ?
    /Dietz

  • Some fields are missing from extractor to datsource in standard content

    Hi
    I have a standard datsource in CRM. when I see the extractor I can som eadditional fields which are not there in Datasource..
    I hav enot enhance any fields. There some include structure in extract structure...
    thanks for your help.
    Sudha..

    Extract structure can have more fields than what you see in your datasource...
    The additional fields in the extract structure can be BW hidden or not relevant for BW..
    You can check this in table ROOSFIELD for your relevant datasource

  • Having issues with populating a Text Field with data from 2 other fields

    I have 3 fields Tools_1a_pri, Tools_1a_pri_other, Tools_1a_pri_txt.
    Tools_1a_pri is a drop down combo with a predefined list. One of the options is "Other".  When "Other" is selected, the text field Tools_1a_pri_other becomes visible for users to enter the name of the other tool.
    The Tools_1a_pri_txt is a text field with a calculation that shows either text stating that no tool has been selected or the Tools_1a_pri & or Tools_1a_pri_other.
    When I select one of the predefined tools, everything works.  When I select other, it appears that nothing has changed.  It requires that I click on another field before it populates.  This is confusing to the user.
    Tools_1a_pri   Validate code
    this.getField("Tools_1a_pri_Other").display = event.value=="Other" ? display.visible : display.hidden;
    Tools_1a_pri_txt  Calculation code
    //if nothing is selected, do the following
    if (getField("Tools_1a_pri").value.length < 2) {
    event.target.textColor = color.red
    event.value = "No primary tool identified";
    }else if (getField("Tools_1a_pri").value != "Other") {
    //otherwise do this if other is selected
    event.target.textColor = color.black
    event.value = getField("Tools_1a_pri").value;
    }else if (getField("Tools_1a_pri").value = "Other") {
    //otherwise do this if other is not selected
    event.target.textColor = color.black
    event.value = getField("Tools_1a_pri").value + " - " + getField("Tools_1a_pri_Other").value;

    You made the classic mistake of using the assignment operator in an if-statement instead of the comparison operator. Change this line:
    } else if (getField("Tools_1a_pri").value = "Other") {
    To this:
    } else if (getField("Tools_1a_pri").value == "Other") {

  • Adobe Flash player add-on missing from Windows 8 Internet Explorer

    My Adobe Flash player add-on appears missing and I have followed all the trouble shooting but the add-on is not listed in the internet explorer add-ons list even when viewing them all.  How can I fix this?

    It's called Shockwave Flash Object; is that also not listed?

  • SQL Expressions missing from field explorer

    Hi SAP,
    I am using Crystal XI and created a report several months ago.  I want to update the report by using an SQL expression to increase performance.  However, I do not see the SQL Expression available to me in the field explorer just on this particular report.  If I create a new document or open another report I see the SQL Expression feature available for me to use.  There have been no updates to my machine or any Crystal upgrades since I've designed the original report.
    Does anyone know why the SQL Expression feature is missing or how I can get it back.  The report is to complicated to re-create from scratch.
    Thank you in advance,
    Zack H

    This article may help you
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Regards,
    Raghavendra

  • Reference in SQL Expression to a group key

    Hello to everybody, i am working with a report in Crystal Report 11 and i need some help.
    In the design of my report i have two groups corresponding to a table which has two keys. The first one belongs to an Id and the second to a datetime.
    The fact is that i have to filter second group with a specific date that i have to obtain with a sql query. So i was thinking in using SQL Expression but i cant make it the right way because i cant filter in the where condition with the id of the superior group. I dont know how to write the where condition.
    If anyone can help me i will be grateful.
    Thanks.

    Thank you Sastry for responding so quickly.
    I think you dont understand me. I have this:
    -Group 1: id
             -Grupo 2: datetime
    the field datetime i need to filter with a specific date. In order to be clear the SQL Expression i made to filter this datetime is:
    (select max(datetime) from Table1)
    That maximum datetime i need it be for each id in the Group 1 (so the sql expression is not a single value, its a single value for each id of Group1), but i can't put this in the sql expression:
    (select max(datetime) from Table1 where Table1.id = Group1.id)
    and then the other problem is how to filter the datetime in group 2 with the value of the SQL Expression
    PD: Where is the option add command in crystal report?

  • Could you please confirm that the Service Pack 3 will install on SQL Express 2008 R2 SP2 With Advanced Services.

    We are using SQL server  Express 2008 R2 SP2 With Advanced Services.Its a 64 bit server.We want to Patch Service Pack 3 On express edition. Could you please
    tell us whether  the Service Pack 3 will install on SQL Express 2008 R2 SP2 With Advanced Services or not
    Could you please suggest me on this.
    Sainath Kompelly

    No, you cannot install SP3 on Express edition as Microsoft did not release it for Express Edition as noted here: http://blogs.msdn.com/b/sqlreleaseservices/archive/2014/09/26/sql-server-2008-r2-service-pack-3-has-released.aspx.
    You can see that Express edition is missing from the list of supported editions in the details section here: http://www.microsoft.com/en-us/download/details.aspx?id=44271
    Satish Kartan www.sqlfood.com

  • SQL Express Reports

    I've created a windows application in c# for a client.
    I need to now create a report to launch on press of a button, I did download sql server express with reporting.
    Not sure how to get started creating a report in sql express and launching it from my windows application.

    Hello,
    The following resources may be useful.
    http://www.vbforums.com/showthread.php?717175-How-to-use-Report-Viewer-with-Visual-Studio-2012-Express
    (although is for VB it will help you)
    https://msdn.microsoft.com/en-us/library/jj635142.aspx
    http://www.gotreportviewer.com/
    https://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument(v=vs.90).aspx
    https://msdn.microsoft.com/en-us/library/system.windows.forms.printpreviewcontrol.aspx
    https://msdn.microsoft.com/en-us/magazine/cc188767.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Extract Data Using SQL Expression

    Hello, I've created a staging table and just realized that I need some new extra fields.
    Should I create them in the stage or in the target table?
    I want to use the SQL expression COUNT so to fill these new fields with edited source data,
    but don't know exactly how to do it. I am a bit amateur.
    Thank you.

    I' ve just realized that I am reading your book! Oracle Warehouse Builder 11gR2: Getting Started 2011.
    What If I need the rest of the fields not to be changed? Fields like Name or whatever.I can't figure it out. Thanks again.
    For example, I have these two fields Name and Date and I want to use the count expression through the aggregation operator for the Date field and create a new field Quantity to store the reaults. But I need the field Name to remain intact.
    How can I manage this? Thank you.
    Edited by: 928543 on 11 Ιαν 2013 1:35 μμ
    Edited by: 928543 on 11 Ιαν 2013 1:44 μμ

  • How to add a DataBase Field in PLD from a User Defined Table

    Hi All,
    Please tell me how should i add a database field in PLD from User Defined Field...
    The DropDown for tables in the Property window does not shows the User Define tables...How should i see them...
    Thanx in Advance
    Manish

    In PLD choose object Database. Then press Alt + table combobox, this will show the UDT. Then choose the column.

  • Migrating from Sql server get SQL Error: ORA-00936: missing expression

    All,
    I'm migrating from Sql Server to oracle 10g and I'm getting a
    "SQL Error: ORA-00936: missing expression" error
    when the following create table statement is executed. It appears 10g does not like the CREATE DEFAULT xxxx as xxx syntax. Any ideas??
    CREATE TABLE EnvCapitalOtherCostAtom (
    EnvID CHAR(36) NOT NULL,
    CapitalID CHAR(36) NOT NULL,
    Seq FLOAT DEFAULT
    CREATE DEFAULT D_Set_To_Zero
         AS 0
    NOT NULL,
    AtomID CHAR(36) DEFAULT
    CREATE DEFAULT D_NewGUID
         AS newid
    NOT NULL,
    AtomName VARCHAR2(100) NOT NULL,
    AtomName_dqa NUMBER(5,0) DEFAULT
    CREATE DEFAULT D_DQA_Dflt
         AS 10
    NOT NULL,
    CreatedOnTimeStamp TIMESTAMP(6) NOT NULL,
    LastEditedOnTimeStamp TIMESTAMP(6) NOT NULL,
    TFDubh_dqa NUMBER(5,0),
    record_flags NUMBER(5,0) DEFAULT
    CREATE DEFAULT D_Record_Flags
         AS 0
    NOT NULL,
    record_dqa NUMBER(5,0) DEFAULT
    CREATE DEFAULT D_Record_DQA
         AS 30
    NOT NULL
    );

    Hi Chris,
    not sure SQL Server accepts the syntax you provided either. Even more I have checked MSDN(http://msdn2.microsoft.com/en-us/library/ms173565.aspx) and they recommend:
    Avoid using CREATE DEFAULT in new development work, and plan to modify applications that currently use it. Instead, use default definitions created using the DEFAULT keyword of ALTER TABLE or CREATE TABLE. CREATE DEFAULT will be removed in a future version of Microsoft SQL Server.
    In Oracle you should do the same either use DEFAULT in CREATE TABLE statement or in ALTER TABLE, have a look at http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_constraints.htm#sthref626 for more details.
    The proper Oracle syntax for your DDL should be something like:
    CREATE TABLE EnvCapitalOtherCostAtom (
    EnvID CHAR(36) NOT NULL,
    CapitalID CHAR(36) NOT NULL,
    Seq FLOAT DEFAULT 0 NOT NULL,
    AtomID CHAR(36) DEFAULT SYS_GUID() NOT NULL,
    AtomName VARCHAR2(100) NOT NULL,
    AtomName_dqa NUMBER(5,0) DEFAULT 10 NOT NULL,
    CreatedOnTimeStamp TIMESTAMP(6) NOT NULL,
    LastEditedOnTimeStamp TIMESTAMP(6) NOT NULL,
    TFDubh_dqa NUMBER(5,0),
    record_flags NUMBER(5,0) DEFAULT 0 NOT NULL,
    record_dqa NUMBER(5,0) DEFAULT 30 NOT NULL
    );

  • Creating a SQL Expression Formula

    Post Author: edt11
    CA Forum: Formula
    I need to due a lookup on name(stored in a different table).  I want to display the name result on the report.
    I have tried using the following SQL:
    SELECT distinct(a.short_name) FROM FUND A, FUND_EXTERNAL BWHERE A.FUND_NUMBER = B.CUSTODIAN_KEY
    And I keep receiving an ORA-00936 error (Missing Expression).  If there is a way to retrieve this info in a normal formula that would be great as well.  But the SQL above gives me the results I am looking for so I didn't exhaust all solutions in the Formula Workshop.
    Thanks

    Post Author: edt11
    CA Forum: Formula
    I need to due a lookup on name(stored in a different table).  I want to display the name result on the report.
    I have tried using the following SQL:
    SELECT distinct(a.short_name) FROM FUND A, FUND_EXTERNAL BWHERE A.FUND_NUMBER = B.CUSTODIAN_KEY
    And I keep receiving an ORA-00936 error (Missing Expression).  If there is a way to retrieve this info in a normal formula that would be great as well.  But the SQL above gives me the results I am looking for so I didn't exhaust all solutions in the Formula Workshop.
    Thanks

  • Changing databases from MS SQL Express to MySQL in a  Report at runtime

    Hi all,
    I have an issue in changing databases from MS SQL Express to MYSQL or vice versa in a Report at runtime.
    Here is what I do:
    I create a very simple report with the Crystal Report Designer 2008 V 12.3.0.601.
    This report uses a stored procedure to retrieve it's data. I connect to the Database with JDBC.
    I have two Databases with similar schema and procedures: MS SQL Express an MySQL.
    When I create the report with MSSQL all parameters have the '@' character, as they are named. ok.
    I deploy this report in a JSP application with the crystaldecisions SDK an show it in html viewer format.
    The connection to the MSSQL DB gets established by my JSP and the CRJavaHelper.
    I pass the parameters through my URL to the JSP and finally to the CRJavaHelper (addDiscreteParameterValue)
    and everything works fine.
    The challenge starts, when I try to change the Datasource of this report to MySQL at runtime (which is a requirement in my project).
    I successfully can establish the DBConnection, but my stored procedure just doesn't get called!
    The report just displays totally empty, no Exceptions etc. are thrown. In the DB logfile I see the effort to find my procedure
    and that's all. The Statements called by the SDK finds the correct Procedure, but there's no call to the procedure.
    Of course I know, that MS SQL names it's procedures slightly different (';1' at the end), but even when I rename the table Alias to the correct name in CRHelperJava, I get no call to the procedure in MySQL. I also renamed the parameter-fields in changeDataSource(..) by casting the table to IProcedure and working on its methods. Still no success.
    What am I missing to do or what do I do wrong?
    Any suggestions or even solutions?
    Best Regards,
    Tom

    after all I have managed to set param Values, now I'm stuck because the parms seem to have dissappeared in the formula fields. E.g. I receive this Exception:
    <br><br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Ausnahme in Formel ""{@DurationMin}"" bei ""{dataProc.Duration}"":
    Dieser Feldname ist unbekannt.---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:733)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
         at com.crystaldecisions.sdk.occa.report.application.RowsetController.getSQLStatement(SourceFile:1485)
         at org.apache.jsp.report_jsp._jspService(report_jsp.java:360)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.dataengine.DataEngineException: Ausnahme in Formel ""{@DurationMin}"" bei ""{dataProc.Duration}"":
    Dieser Feldname ist unbekannt.
         at com.crystaldecisions.reports.dataengine.DataSourceManager.do(SourceFile:692)
         at com.crystaldecisions.reports.dataengine.DataSourceManager.new(SourceFile:607)
         at com.crystaldecisions.reports.dataengine.DataSourceManagerCoordinator.a(SourceFile:505)
         at com.crystaldecisions.reports.dataengine.DataSourceManager.a(SourceFile:1060)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:729)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:699)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.i(SourceFile:1308)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.k(SourceFile:1297)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1310)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
         ... 32 more
    Caused by: com.crystaldecisions.reports.formulas.FormulaException: Ausnahme in Formel ""{@DurationMin}"" bei ""{dataProc.Duration}"":
    Dieser Feldname ist unbekannt.
         at com.crystaldecisions.reports.formulas.o.a(SourceFile:1041)
         at com.crystaldecisions.reports.formulas.o.do(SourceFile:1013)
         at com.crystaldecisions.reports.formulas.o.new(SourceFile:688)
         at com.crystaldecisions.reports.formulas.o.else(SourceFile:459)
         at com.crystaldecisions.reports.formulas.f.void(SourceFile:65)
         at com.crystaldecisions.reports.formulas.FormulaParser.a(SourceFile:345)
         at com.crystaldecisions.reports.formulas.r.a(SourceFile:89)
         at com.crystaldecisions.reports.formulas.FormulaInfo.a(SourceFile:570)
         at com.crystaldecisions.reports.formulas.FormulaService.compile(SourceFile:347)
         at com.crystaldecisions.reports.reportdefinition.FormulaCompiler.a(SourceFile:139)
         at com.crystaldecisions.reports.reportdefinition.FormulaFieldDefinitionBase.compile(SourceFile:928)
         at com.crystaldecisions.reports.reportdefinition.o.a(SourceFile:1360)
         at com.crystaldecisions.reports.reportdefinition.o.a(SourceFile:1348)
         at com.crystaldecisions.reports.reportdefinition.o.a(SourceFile:4225)
         at com.crystaldecisions.reports.dataengine.DataSourceManager.do(SourceFile:687)
         ... 41 more
    <br><br>
    where dataProc is my stored procedure and @DurationMin is a function field.
    do I have to call verifyDatabase() when I have changed DBs and set the param Values?
    Is there a defined sequence to execute these steps?
    Edited by: tomspengler on Dec 8, 2011 1:55 PM

Maybe you are looking for