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.

Similar Messages

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

  • 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

  • Watermark will not display behind the page?

    I have been trying to set the watermark behind the page rather than on top. When set to display behind the page no watermark displays in any setting or page range. Very frustrating has any one else experienced this and if so how did you resolve the issue. I am using adobe pro X . the documents were originally created in Word 2010.

    Probably, the page has an existing white background, which is just a graphic at the back. If you put a watermark behind that you won't see the watermark.

  • All fields are not displaying in the infotype screen control

    Hello Everybody,
    All the fields from infotype 2001 and 2002 are not getting displayed in the screen control for these infotypes and
    when I checked the screens for these infotypes, the mod. groups/functions has not been set for field 'Group3' for those
    infotype fields.
    Is there a way I could set this field ' Group3' for these infotype fields also ? Can it be done thru screen exit and if yes could
    anyone tell me what's the screen exit for these infotypes ?
    Thanks
    Alok

    solved it myself.

  • Extended attribute value of PerPayProposalsVO is not displaying in the page

    Hi,
    Please could someone reply on this urgently?
    I have requirement to add one field in the VO PerPayProposalsVO.
    I have extended the VO properly and substituted the standard VO with extended VO.
    Please see below the xxPerPayProposalsVO query where Xxfte_Salary column is my added column:
    SELECT PerPayProposalsEO.PAY_PROPOSAL_ID, PerPayProposalsEO.ASSIGNMENT_ID, PerPayProposalsEO.EVENT_ID, PerPayProposalsEO.BUSINESS_GROUP_ID, PerPayProposalsEO.CHANGE_DATE, PerPayProposalsEO.LAST_CHANGE_DATE, PerPayProposalsEO.NEXT_PERF_REVIEW_DATE, PerPayProposalsEO.NEXT_SAL_REVIEW_DATE, PerPayProposalsEO.PERFORMANCE_RATING, PerPayProposalsEO.PROPOSAL_REASON, PerPayProposalsEO.PROPOSED_SALARY, PerPayProposalsEO.REVIEW_DATE, PerPayProposalsEO.ATTRIBUTE_CATEGORY, PerPayProposalsEO.ATTRIBUTE1, PerPayProposalsEO.ATTRIBUTE2, PerPayProposalsEO.ATTRIBUTE3, PerPayProposalsEO.ATTRIBUTE4, PerPayProposalsEO.ATTRIBUTE5, PerPayProposalsEO.ATTRIBUTE6, PerPayProposalsEO.ATTRIBUTE7, PerPayProposalsEO.ATTRIBUTE8, PerPayProposalsEO.ATTRIBUTE9, PerPayProposalsEO.ATTRIBUTE10, PerPayProposalsEO.ATTRIBUTE11, PerPayProposalsEO.ATTRIBUTE12, PerPayProposalsEO.ATTRIBUTE13, PerPayProposalsEO.ATTRIBUTE14, PerPayProposalsEO.ATTRIBUTE15, PerPayProposalsEO.ATTRIBUTE16, PerPayProposalsEO.ATTRIBUTE17, PerPayProposalsEO.ATTRIBUTE18, PerPayProposalsEO.ATTRIBUTE19, PerPayProposalsEO.ATTRIBUTE20, PerPayProposalsEO.LAST_UPDATE_DATE, PerPayProposalsEO.LAST_UPDATED_BY, PerPayProposalsEO.LAST_UPDATE_LOGIN, PerPayProposalsEO.CREATED_BY, PerPayProposalsEO.CREATION_DATE, PerPayProposalsEO.OBJECT_VERSION_NUMBER, PerPayProposalsEO.APPROVED, PerPayProposalsEO.MULTIPLE_COMPONENTS, PerPayProposalsEO.FORCED_RANKING, PerPayProposalsEO.PERFORMANCE_REVIEW_ID, PerPayProposalsEO.PROPOSED_SALARY_N, hr_general.decode_lookup('PER_SAL_PROPOSAL_STATUS',APPROVED) AS SALARY_PROPOSAL_STATUS, hr_general.decode_lookup('PROPOSAL_REASON',proposal_reason) AS REASON_MEANING, PER_SALADMIN_UTILITY.get_basis_currency_code(PerPayProposalsEO.ASSIGNMENT_ID,PerPayProposalsEO.CHANGE_DATE) as currency_code,ppr.review_date performance_review_date, hr_general.decode_lookup('PERFORMANCE_RATING',ppr.performance_rating) performance_rating_desc, PerPayProposalsEO.DATE_TO, piv.uom as uom, per_saladmin_utility.get_fte_factor (PerPayProposalsEO.assignment_id,PerPayProposalsEO.change_date) fte_factor, PER_SALADMIN_UTILITY.get_currency_format(PerPayProposalsEO.assignment_id, PerPayProposalsEO.change_date) as currency_format, hr_util_misc_ss.get_in_preferred_currency_str( PerPayProposalsEO.proposed_salary_n*decode(ppb.pay_annualization_factor, null, 1, 0, 1, ppb.pay_annualization_factor)*per_saladmin_utility.get_fte_factor(paa.assignment_id,sysdate), pet.input_currency_code, trunc(sysdate)) as Xxfte_Salary FROM PER_PAY_PROPOSALS PerPayProposalsEO, per_performance_reviews ppr, per_assignments_f2 paa, per_pay_bases ppb, pay_input_values_f piv, pay_element_types_f pet where PerPayProposalsEO.performance_review_id = ppr.performance_review_id(+) AND PerPayProposalsEO.assignment_id = paa.assignment_id AND paa.assignment_id = :1 AND :2 between PerPayProposalsEO.change_date and nvl(PerPayProposalsEO.date_to, hr_general.end_of_time) AND PerPayProposalsEO.change_date between paa.effective_start_date and paa.effective_end_date and paa.pay_basis_id(+) = ppb.pay_basis_id and ppb.input_value_id = piv.input_value_id and piv.element_type_id = pet.element_type_id and PerPayProposalsEO.change_date between piv.effective_start_date and piv.effective_end_date and PerPayProposalsEO.change_date between pet.effective_start_date and pet.effective_end_date
    When I tried to personalise and showed the field in Salary Admin page it is not displying any value. Even when I tried to show any field from the Standard VO through personalization it is not displaying value. Please could someone look into this?
    Thanks and regards,
    Sunil

    Hi Sunil,
    Are you passing parameters at CO or at VOImpl class. To get message printed and if running in Oracle Appln.
    Use
    oadbtransaction.writediagnostics/pageContext.writeDiagnostics.
    Sample
    pageContext.writeDiagnostics(this, "ItemKey " + iKey,2);
    You can set it at any level, please make sure your VO is getting executed.
    Thanks
    Rakesh

  • I embedded some HTML code into adobe Muse but not displaying when the pages are Exporting to HTML

    I embedded some HTML code into adobe Muse and when I published the remote site on business catalyst the (Add This widget) HTML code shows up but when I exported the site to HTML pages and view the index page in the browser (Safari, Chrome, Firefox) the (Add this widget) HTML code wouldn't display on any of the pages. I've used this code before on other Muse sites not sure what could have happened. Thnx!!!

    Hi,
    Please take a look at this post for a similar discussion : Re: When i export my muse website my youtube video links stop working. Why is this?
    Regards,
    Aish

  • When i open the add ons page in firefox the pages do not display correctly the pages only show text and are in lists

    when i click on the add ons tab the page does not show correctly. There are no graphics just text. It is difficult to view the page details. If you click on a link within the page the next page opens with exactly the same problem. All other tabs and pages open and display correctly

    Hi,
    If you're using a theme you can try to temporarily switch to the '''Default''' theme in Tools > Add-ons > Appearance. If the problem persists, please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]. Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u '''Use hardware acceleration when available''']. All these settings/options/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme, option or hardware acceleration is causing issues. Disabling/enabling hardware acceleration, and some types of add-ons in normal mode may require a Firefox restart.
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.org/en-US/kb/Options%20window Options]

  • Receive "The Page cannot be displayed" in the page header within FBL5N

    I have a user that started getting "The Page cannot be displayed" error message in the web content header after running FBL5N. The computer is running SAPGUI 710 and Windows XP SP3. I have already checked the FEATURE_DISABLE_MK_PROTOCOL settings in the registry. Any help and guidance would be appreciated.

    you must be using SAPGUI 7.10 patch level 15 or above.
    I have a feeling that you upgrade to IE8 on that workstation...

  • Field should not display in the subtotal row in ALV report after sorting .

    we have a requirement, after sorting and subtotaling, the output in ALV is -
    vbeln        amount1  amount2  amount3
    123           11              12            13
    123           12             13             14
    123           23             25             27 
    133           11              12            13
    133           12             13             14
    133           23             25             27
    Now the customer wants the ALV outpput in this fashion -
    123           11              12            13
    123           12             13             14
                     23             25             27    --->123 (vbeln) should not come in subtotaling row
    133           11              12            13
    133           12             13             14
                      23             25             27--->133(vbeln) should not come in subtotaling row

    Hi,
    if it helps you could create a hierachy. In this way you can define the field catalog for the lines and for the subtotal columns. The only thing is that you would always show the subtotal rows.
    You have references of hierachy alvs in
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c060fcb4-2c62-2b10-d2b2-f32407a5cc6f
    ALV Hierarchy
    alv hierarchy
    In this case it also sorts
    Sorting for ALV hierarchy
    I hope it helps.
    Edited by: Oscar Pecharroman on Aug 2, 2010 1:13 PM

  • 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" 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 Expression field with parameter

    Hello,
    I am trying to create a SQL Expression Field that will give me the maximum status date of an employee before a certain date entered in parameter.
    ex: select max(status_date) from status where status_date < formula field or parameter
    Since I can not put a paramter or a formula field in a SQL Expression field, I might need a template or an example of something that works ?
    Thank's
    Steph
    Edited by: Stephanie Charest on Aug 4, 2008 7:59 PM

    Ok,
    The only way I found to get the maximum status date of an employee with the date entered in parameter was to litteraly put each employee ID, and Status Date in the Detail section.
    Then in the select expert create the parameter date.
    Then I created a running total field that counts the employees and resets on change of employee sorted by status date.
    Then I created a formula that gets all the first occurences of this running total field and if the running total field equals 1, a new formula field shows 1 and if not (2 and more), it shows 0.
    But I can't find the way to give me the total that I need for each group sections.
    It's ok if the SQL expression field does not work, but I need to find a way to get the max date.
    Thank's for your help for the SQL Expression field.
    Steph

  • 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

Maybe you are looking for