SQL Expression Fields - Not available

Post Author: anandad
CA Forum: Data Connectivity and SQL
Hi,
I have installed Crystal Reports XI Developer version but in my Field Explorer I dont see SQL Expression Fields tab or item. Did I miss installing any perticular component? I can see the formulla fields but not SQL Expression Fields....
Urgent help will be highly appritiated.
Thanks.

Post Author: synapsevampire
CA Forum: Data Connectivity and SQL
V361 is mistaken, SQL Expression fields are available in CRXI.
As with previous versions though, it turns off depending upon the type of database and connectivity used.
Try using a real SQL database, or if MS Access, set up an ODBC connection to the database.
In the future include your database in your post to avoid guess work on our part.
-k

Similar Messages

  • SQL Expression Fields not showing

    Hello,
    I want to use "SQL Expression Fields", however, it doesn't appear in the Field Explorer.
    The only options that appear in my Field Explorer are:
    - Database Fields
    - Formula Fields
    - Parameter Fields
    - Running Total Fields
    - Group Name Fields
    - Special Fields
    I am connecting to Oracle 10g Rel.2 with ODBC.
    I have no problems creating reports with queries that access the database.
    Do you have any idea about why the option doesn't appear?
    Cesar

    Post Author: synapsevampire
    CA Forum: Data Connectivity and SQL
    V361 is mistaken, SQL Expression fields are available in CRXI.
    As with previous versions though, it turns off depending upon the type of database and connectivity used.
    Try using a real SQL database, or if MS Access, set up an ODBC connection to the database.
    In the future include your database in your post to avoid guess work on our part.
    -k

  • "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

  • Sql expressions field option not available in field explorer

    Hello:
    I would like to create a sql expression field in my report. however when I go to the field explorer panel, a sql expression fields node is not available to create one. Does anybody know why is this not an option?
    Thank You Very Much

    Also if you are creating based off any stored procedure or View you can't see Sql Exprn under field explorer.  I think it is also databse specific.  What is the databse you are using ? also what is your datasource ?
    Thanks,
    Sastry

  • SQL Expression Fields button not visible in Field Explorer

    Hi,
    On my Crystal Reports installation I can see the button SQL Expression Fields in Field Explorer but it is not visible on client's installation.
    How do I make it visible? I need to create a new report with SQL query for client.
    Thanks,
    Ajay Audich

    Commands are intended to replace the standard linked tables that must users are accustomed to.
    I suppose Commands would be considered an "advanced" feature, considering that they require the developer to be able to hand write SQL (our at least copy it from another SQL editor).
    If you are comfortable writing reading, writing & editing SQL, Commands will open a the door to a whole new level of control when it comes to creating your data sets.
    The biggest problem w Commands is also it's greatest strength... If you're using a Command, CR will assume that you know what you're doing and will not try to rewrite or optimize your SQL in the background. You write it, CR sends it. That means if you write crappy SQL, CR will send your crappy SQL to the db server...
    It also means that you can use join types that aren't available in CR and use sub-queries in in your SQL... Basically anything you can do in the db's native editor.
    HTH,
    Jason

  • NOT ABLE TO SEE SQL EXPRESSION FIELDS IN CR2008

    Hi,
    I am not able to see the SQL EXPRESSION FIELDS in the FIELD EXPLORER of CR 2008.Can
    you please help me
    BABASHARI

    Hi,
    I would suggest you open the question in the Crystal Reports forum.
    Ingo

  • SQL Expression fields do not display when no records are returned

    I have a report that uses SQl expression fields to summarize in the Report footer.  When the main report does not contain any records the SQL expression fields are blank.
    Is there a way to force these SQL expression fields to be evaluated evn when the main report does not contain any records.
    Thanks

    Hi,
    You can try this :
    Under Report Options, check "Convert Database Null values to Default".

  • SQL expression field is not displayed on the page header if no records

    Hello
    I'm creating a quite simple report. In this report I've got a SQL expression field which returns a DateTime
    I display this field on the page header section.
    Everything is working fine except when my principal query doesn't return any records my SQL expression field is not displayed. It doesn't seem to be evaluated.
    So, I would display this field even if my Details Section doesn't contains any record.
    I hope you understand what I mean.
    Can someone help me?
    thanks

    Hello,
    I thought about creating a formula but the value I need is stored in a database.
    So i created a simple SQL expression field.
    SELECT CONVERT(DATE,j_1) FROM VW_STD_DATEFIXING
    And this expression doesn't have any dependencies.

  • Select statements inside a SQL Expression field

    Hello
    Why cannot we use the Select statements inside a SQL expression field in Crystal Reports ?
    Any alternatives for this...
    SELECT Top(1) "SomePrivateDatabase"."SPDname" FROM "SomePrivateDatabase"
    inner join "Subscriber" on
    "Subscriber"."SPDID" = "SomePrivateDatabase"."SPDID"
    inner join "UserDetails" on
    "UserDetails"."SPDID" = "SubscriberCore"."SPDID"
    Regards
    Srivatsa
    Edited by: Srivatsa Haridas on Dec 3, 2008 12:17 PM

    Hi Srivatsa,
    SQL Expressions is something the Database supports. We query the Client engine for a list of functions they make available. If the SQL Statement is not list it's not an option and therefore it won't work.
    Your work arounds are to use either a Stored Procedure, this is the most efficient way, all processing is done server side and CR simply waits for the data to format in the report. Another option is to use a
    Command Object, use one CO per report so try to get all data within the SQL statement. We simply pass the SQL to the server and wait for the result set, if you get an error it will be the SQL you typed in. Test in a SQL test tool first to confirm you are getting the data correctly.
    For more assistance in designing reports please post your report deisgn questions to the Reprot Design forums. I am moving this one to that queue.
    Thank you
    Don

  • SQL Expression Fields (Field Explorer dialog box)

    I have Crystal Reports Version XI.  When I open the field explorer I can't see "SQL Expression Fields (Field Explorer dialog box) "
    Please help.

    The following information helps you
    Symptom
    In Crystal Reports 9 and later, the 'SQL Expression Fields' is unavailable in the 'Field Explorer' dialog box. The report is reporting off a stored procedure or command object.
    Why are 'SQL Expression Fields' unavailable in the 'Field Explorer' dialog box?
    Resolution
    'SQL Expression Fields' are unavailable in the 'Field Explorer' dialog box because the report is based on a stored procedure or command object.
    When connecting to a Stored Procedure or using a command object the SQL Statement is predefined and cannot be modified by Crystal Reports therefore the SQL Expression field will not be available when connecting to either of these objects.
    The SQL Expression field works by adding an entry into the SELECT portion of the SQL Statement in a Crystal report. A SQL Expression Field is only available in a report when:
    u2022 The report connects to tables or views.
    u2022 Crystal Reports generates the SQL statement.
    regards,
    Raghavendra

  • Sql expressions field disappears

    I updated to CR XI Release 2 and the sql expressions field disappeared. It is there only in subreports. What is wrong?
    Thanks in advance

    Hi Kiril
    Let me know if you are using any stored procedure in the main report or not?
    If you are using any stored procedure or command object in the report then the SQL expresions is not available in Crystal Reports.
    There is an SAP note on SAP Developer network addressing this issue.
    You first need to logon to https://www.sdn.sap.com
    and search for:
    1217791 - 'SQL Expression Fields' are unavailable in the CR Field Explorer
    let me know if it helps or not.
    Regards
    Nikhil

  • Cannot find SQL Expression Fields

    Hi,
    I am using Crystal Reports 2008 and trying to locate the SQL Expression Fields.  According to the user guide, the SQL Expresion Fields should be under Field Explorer.  But when I go to Field Explorer, I only see the following options:
    - Database Fields
    - Formula Fields
    - Parameter Fields
    - Running Total Fields
    - Group Name Fields
    - Special Fields
    Would you please let me know where I can find SQL Expression Fields?
    Thanks and regards,
    Al

    Al,
    If you are reporting off of a Stored Procedure, View, Command Object, or multiple datasources SQL Expression fields will not be available. The reason is for the first 3 is that the SQL has been hard coded, the reason it would not work when ussing multiple datasources is that it would not know which query to append the SQL expression to.
    Correction: SQL Expressions will be available when reporting off of a View.
    Edited by: Graham Cunningham on Jul 21, 2008 9:38 AM

  • Passing a variable to an SQL Expression Field

    Is it possible to pass a value or variable to an SQL Epression field?  I want to sum the values of open invoices for a particulat customer and want to do this using an SQL Expression Field.  I need this sum in a  subreport and since I can not put a subreport in a subreport I want to do it using an SQL Expression.
    Thanks.
    Ralph

    That would require a SELECT statement in the expression and they really are not designed to do that.
    If you can't do this client side write a stored procedure then you have full control and CR is just used to display the data.

  • SQL Expression Fields

    In crystal report 2008,I create a SQL Expression Fields,but how to write the SQL query in the formula workshop,
    Edited by: nylethx1 ye on Jul 23, 2008 9:48 AM

    Select count(*) from Table
    Your query must return a unique value.
    From Don: SQL Expressions were not designed to run SELECT statements. Use a Command object for selects.
    Edited by: Don Williams on Nov 2, 2009 9:29 AM

  • Sql expression fields - odbc drivers

    We are using Crystal 2008 with SAP ECC 6.0, and the database is sql server 2005. We had Integration kit installed. We have developed few reports with this one from ECC 6.0.
    My problem is, I am not able to see the SQL EXPRESSION FIELDS in the FIELD EXPLORER of CR 2008. From the replies for my
    previous postings in other forums here and from the feed back of Don Williams, I understood there is a problem with odbc drivers.
    I checked trying with new report and tried using ODBC(RDO) but found no drivers. The ODBC data source window showing "dBASE Files, Excel Files & MS Access Database" in the data source Names field.
    Even from my machine, I checked the ODBC drivers and found only the above three were present in the user DSN tab of ODBC data source administrator window. Shall I have to add ODBC drivers for SQL Native client OR SQL server OR both (FROM THE DRIVERS TAB)?
    Will there be any other ODBC is required for SAP INTEGRATION?
    What are the steps to resolve this and to activate and use the drivers? so that I can see SQL Expression fields & also "Show sql query".
    BABASHARI

    Hi,
    So by establishing the connectivity through the proper transports and authorizations done to CRM, can I build
    single report by getting the data from two tables one from ECC and another from CRM?
    >> which then means for SSO you need to configure 2 SAP systems on the BusinessObjects Server
    And one more question, If I could not succeed in getting the connectivity through the proper transport & authorization to
    CRM, (lack of basis resources) then can I use BAPI / RFC'S to pull the data from CRM into ECC and then into CRYSTAL(as, ECC is working fine with crystal through the integration kit)? Is it a good practice? Thanks in advance.
    >> for CR then the ECC system would become the single point of entry. sure - that would work as well - but shoulnd't be necessary
    Ingo

Maybe you are looking for

  • How do I add new methods to a pointstyle object?

    Using a scatterplot, I change each point's color (and shape) to reflect the range of the Y-value passed in. This is done with an override to the "draw" function (see below). Right now the Y-value ranges are "hardcoded" in the override. I would like t

  • Disable cut option in Indesign CS5.5

    Hi, I want to disable CUT option in indesign once document is opened. I have added ActionFilter.cpp in my project and added following code in "FilterAction" function, IDocument* myDoc = Utils<ILayoutUIUtils>()->GetFrontDocument();     if (myDoc)     

  • Created a dynamic form (saved as dynamic pdf) have an email link (that works), when the email is rec

    I have a dynamic form that I created and I need to get it posted but am having some issues. 1. I need the fields to be optional and it tells me that the information entered is not what was expected 2. I have a button to click that will send the compl

  • Airport needs to be told what to do

    When I boot my G5 mac or my wife's ibook neither will automatically connect to the wireless network we always use (apple airport express network in our house). They have to be pointed to the network even though it is the only one listed in our prefer

  • Need help in DECODE statement

    I have a scenario like if account no is 0001 or 0002 or 0003 then account_flag <> 'Y' ELSE IF account no is 00009 then account_status <> 'Y' How to write DECODE statement for this in Where part of select statement Note: account_flag and account_statu