Display conditional symbol

Hi
I want to display a conditional symbol if the number of rows for a particular item exceeds a limit. For example, if i have 5 address rows in my xml file, and i want to display only 4 in the template and show a symbol if there are more records available.
My row text is:
for-each UGSchoolDetailsVORow
and my code is:
<?for-each:UGSchoolDetailsVORow[position () < 5]?>
I only want to display 4 records but i also want to display a ~ symbol if there are more than 4 records
Many Thanks
James

Hi
That didn't work i'm afraid. only 1 record was displayed instead of 4.
I have a similar bit of code in another part of the template
<?xdoxslt:ifelse(string-length(Statement)>5000, concat(substring(Statement,1,5000), '~'), Statement)?>
I guess something like this but related to rows instead of string length.
James

Similar Messages

  • Display Currency Symbol disabled, but symbol prints if currency in a text formula.  Why?

    Our Crystal Report displays money fields (from our SQL database).
    Our Crystal Reports Designer has the Display Currency Symbol feature disabled by default when writing reports.
    On one report we have a Sell_Amount currency field to display:
    We have this Sell_Amount field directly on the report in one section.
    We also have this Sell_Amount field in a formula for printing in a different section.  This formula is defined as a text field as it will either display 'No Charge' or the Sell_Amount based on a condition, such as:  If {NoCharge} Then 'No Charge' Else ToText(Sell_Amount)
    When viewing this report on our development machine in Crystal Designer, the Currency Symbol does not show for either the Sell_Amount field that is directly on the report or for the Sell_Amount that is in the formula (I am guessing because we have the Display Currency Symbol disabled).
    When viewing on a runtime machine (no Designer, just runtime components), the formula (if NoCharge = False) displays the Sell_Amount (in the formula) WITH the currency symbol, but the Sell_Amount that is directly on the report (not in the formula) does not display the currency symbol.  Why?
    This has been an issue ever since were were on Crystal 8 way back when.  We have never found (nor asked) for a reason, but now we need to know the reason/rules, etc. for this.  We are currently on Crystal 2008 SP6 (Designer) and deploying Crystal Reports Developer for Microsoft Visual Studio SP6 runtime components.  As I said, this has been an issue for years, but we now need an explanation.  I have not been able to locate one on the site anywhere.  Can you please explain the rules of Currency Symbol in this scenario?
    Thank you.

    Hi NB,
    I did say to use the Advanced editor but I did not say to use it for attaching the report...
    So to be clear here is what I see in the report Designer ( I put the formula into text boxes also ):
    For the NoDatabaseCurrency field you have to set the currency to Fixed, Floating will add a space:
    Which is opposite of what you originally posted:
    "...Our Crystal Reports Designer has the Display Currency Symbol feature disabled by default..."
    It's not disabled by default, please explain?
    As for using the CCUR() function the help file does show the Currency symbol is on by default:
    Examples
    The following examples are applicable to both Basic and Crystal syntax:
    CCur (200.20)
    In Crystal syntax this is equivalent to writing $200.20. In Basic syntax, CCur (200.20) is the way to directly create a Currency value of 200.20.
    CCur ("$200.20")
    Returns the Currency value CCur (200.20) given the String value "$200.20".
    CCur ("two hundred dollars")
    Causes an error to occur. The CCur function cannot convert the String "two hundred dollars" to a Currency value.
    So if you mean you went into the Options menu and Fields, Currency and check off this option:
    [Update] - After testing this a few times it does retain the Options, current, Display Currency Symbol, so creating a new report the option is unchecked.
    You are correct, even though I checked it off when I create a new report the option is checked on and obviously it's still on for each field and object. This may be a bug, testing more and checking with a few more people and eventually R&D.
    So please clarify the steps you are doing?
    Make sure you are running CR Designer under local PC Admin rights, right click on the short cut and select run as Administrator or check this option on:
    Thanks
    Don

  • FR Report_ Display Mark Symbol

    Hi All,
    I am using FR 9.3.1 on windows 2003 server. I am trying to create a variance report and would like to know whether the following can be achieved or not.
    Is there any possibility to have "Mark" symbol and "X" or "cross" symbol displayed next to my Variance % results if my results are positive ar negative. Example as below:
    Actuals BUDGET Variance Variance%
    Sales 400.02 658.10 27.74 7% (Here it would display a Tick Mark in green in the preview)
    COGS 179.236 150.456 -20.145 -13% (Here would like to display "X" symbol in red in preview)
    I can find the formatting option where the figures can be colored ad red or green using condition but not with Symbols.
    Any help would be appreciated.
    Thanks in Advance.
    Mars

    One option would be to use WingDings/Webdings font: http://en.wikipedia.org/wiki/Wingdings
    You also have to make sure the fonts are installed on the FR server & PDF server I think (from memory, we reviewed this about 3 years ago).
    If using Firefox as the web browser, rather than IE, I don't believe these will show up correctly so you might have to use unicode equivalents.

  • Display Currency symbol with value in ALV Report

    Hi Experts,
    I need to display currency symbol with value in ALV Report like if currency type is dollar then $200.
    Here I am using field catalog type slis_t_fieldcat_alv and suing field merge catalog FM: 'REUSE_ALV_FIELDCATALOG_MERGE'
    I tried like this
        IF <fs_fieldcat>-fieldname = 'STPRS'.
          <fs_fieldcat>-seltext_s = 'Std Cost '.
          <fs_fieldcat>-seltext_m = 'Std Cost'.
          <fs_fieldcat>-seltext_l = 'Std Cost '
           <fs_fieldcat>-tabname = 'MBEW'.
          <fs_fieldcat>-ctabname = 'T001'.
          <fs_fieldcat>-cfieldname ='WAERS'.
          <fs_fieldcat>-datatype = 'CURR'.
        ENDIF.
    Please any one can suggest the solution for this.
    Advance Thanks.
    Regards,
    Bala Achari

    Hİ,
    Check this link.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=24379571
    Take care.
    Çağatay

  • User wants to display the % symbol beside the value

    Hi all,
    I have a key figure ..which is added to formula(aggregation tab set as average of a characteristic).
    its displaying average correctly in the report output ,but user want it to be displayed % symbol beside that .
    how can i do that ..
    For other KPI ..i got the requirement as A-B/B and here i applied A-B %A B and its working fine.
    What if i need to put % symbol beside a value ??

    Hi Bilvanth ,
    You can follow the below steps to achieve the desired output :
    1) Create a formula in the query designer . Suppose your key figure is Y which you want to display with % symbol .
        Take this key figure in the formula . Then from the Percentage Functions choose (%A)Percentage Share. Then after this write 100 .
    So your formula would be : Y %A 100 .
    2) Hide your original key figure Y and display this formula in the report . It will come with the percentage symbol .
    Hope the above steps will help you to achieve the desired output .
    Thanks & regards,
    Ashutosh Singh

  • Display-condition="first" doesn't work

    Hi,
    I'm trying to use the 'display-condition' attribute of the xdofo:inline-total element to get some boiler plate to appear on the first page only, and some other boiler-plate to appear on all subsequent pages (display-condition="first" and display-condition="exceptfirst") as detailed on page 2-78 of the 5.6.3 user guide.
    (This is not something that can appear in the header/footer, so we can't use 'different first page').
    If I don't specify a display condition then my boiler plate is displayed (although only if I add this as a string within the element, and the variable is not displayed correctly). But if I add the display-condition="first" then the element is not displayed at all.
    I've tried this with the 5.6.2 desktop previewer and with 5.6.3 within Oracle Applications. The results are pretty much the same.
    I guess I have two questions:
    1.) Is this the right way to do what I'm trying to do? (We need 'Assessment Information to be shown at the head of a table on page 1, and 'Assessment Information Continued' to be shown at the top of the table on all subsequent pages, and as this is a batch print job, we need the pageing to restart for each new main group)
    2.) If this is the right way to do it, can anyone help me get it working?
    I can post a small example xml and rtf if it helps.
    Thanks for any suggestions,
    Ben

    To test this further I created a new rtf template and xml file which make the problem quite clear I think.
    I've created 5 new items in the template.
    Each one of them uses a different printing condition as specified in the user guide, from which I quote:
    • first - the contents appear only on the first page
    • last - the contents appear only on the last page
    • exceptfirst - contents appear on all pages except first
    • exceptlast - contents appear on all pages except last
    • everytime- (default) contents appear on every page
    When you preview the report, what happens is that:
    • first prints on every page except the last
    • last is never printed
    • exceptfirst prints on every page except the last
    • except last is never printed
    • everytime prints on every page except the last
    None of these behaves as descibed in the manual, and nothing is ever printed on the last page.
    Anyone got any ideas? Someone must be using this functionality succesfully...
    Thanks,
    Ben

  • Display Conditions for Configurator OptionFeature Options - R12.1

    Here is a test scenario that I am using. This is for R12.1
    1. I have a list of options under a Option feature
    2. These options are to be displayed as drop down list in the configurator user interface as the min and max selections allowed is 1. i.e. options are mutually exclusive.
    3. In configurator user interface, I have to display only the options that are available for user selection. i.e. Options that are either excluded by a rule of by an configurator extension, should not be displayed in the UI.
    Now, here is the problem.
    I am using the display condition for the drop down feature as below.
    List Item Display Condition List Item Model Node.SelectionState IsNot Excluded
    The above display condition removes the options that are excluded by a configurator rule (like logic rule or a CDL). But is does not remove the options from the list that are excluded by a configurator extension.
    I tried with all different display condition approaches. But I was unsuccessful in not displaying both type of options that are exculded by configurator rule and configurator extension.
    If anyone could help me achieve this, it would be of great help.
    NOTE: The logical state of option excluded by configurator extension is either FALSE or UFALSE.
    The logical state of option excluded by configurator rule is LFALSE.
    Hope the above explaination is readable. Let me know if you have any questions.
    Thanks,
    user9356335

    Hi Jason,
    Thanks for your reply.
    yes I have tried using LFALSE (as you have mentioned in your message - (IOption)opt.setState(IState.LFALSE); ).
    But we cannot set the logical state of an option to LFALSE, LTRUE, UFALSE, UTRUE.
    we can only set it to FALSE, TRUE or TOGGLE.
    When I tried to set the state of the option to LFALSE, it throws an error saying - logical state of an option can only be set to FALSE, TRUE or TOGGLE.
    - user9356335

  • Firefox not displaying certain symbols

    I can't display certain symbols on Firefox.
    Example: <code><span>&equiv;</span></code> does not show anything on the page I'm working on. However, a symbol like <code> <span>&rsaquo;</span> </code> would show.
    I discovered a hack that displays the symbol by changing the tag. <code><h4>&equiv;</h4></code> with an h1, h2 tag and so on, it will display the symbol. This hack, however is semantically incorrect and I don't want it in my site just so the symbol can display on Firefox. My site already has the <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> just as this one.
    Any suggestions?

    Okay, so this is what I did: I took the whole source code of that page http://en.wikibooks.org/wiki/Unicode/Character_reference/2000-2FFF which displays all the symbols correctly, but as soon as I changed the symbol tag from td to span it vanished. So it looks that when wrapped on some tags, the symbols won't display.
    A little more information, I'm working on a Wordpress theme, but I did a plain HTML page with the same results. The symbol displays on Safari, Chrome and Opera, I'm yet to try it on IE.

  • Hi, I have selected earse content and settings in general settings, after that my iphone displays apple symbol only. Did i spoil my iphone?

    Hi, I have selected earse content and settings in general settings, after that my iphone displays
    apple symbol only. Did i spoil my iphone?

    It takes a very long time, depending on the size 8,16,32GB?
    it can take over a few hours.
    if it doesn't work over 24hrs connect it to a computer using itunes, and choose update, it'll update it with the newest firmware.

  • How to display icon symbols for a field in se38 program

    HI
    IAM VIJAY. PLS GIVE ME THE SOLUTION .
    how to display icon symbols for a field in se38 program.
    WITH REGARDS.
    VIJAY.

    Hi
    you cab use INCLUDE <ICON> and use standard icons provided by sap.
    Sample code:
    WRITE /20(2) ICON_DATE AS ICON.
    WRITE /20(2) ICON_TIME AS ICON.
    WRITE /20(2) ICON_ADDRESS AS ICON.
    Thanks!!

  • Tabs and display conditions

    Hey everyone.
    I was toying around with my Apex as I love to do, however, im a bit confused regarding tabs and display conditions.
    My scenario:
    I want a user, perhaps a public one in the future, to be able to reach page 1 of my application, where there might be for example a form or anything else fun, but I want to have a display condition on tab nr 2 to only be displayed for admin users.
    Fair enough, checked out the conditionstypes and thought the sql returns at least 1 row would be sutiable so I made myself a username table with name, usernames etc and one "admin" column that contains a Y or N flag.
    So I chosed Exists (SQL query returns at least one row)
    And in expression1 I entered "select username from users where username=:APP_USER and admin='Y'"
    However, this somehow seem to fail the display condition, and the tab disapears entirely. regardless if I use my appuser (which has uppercase in the table) or the built in "admin" user.
    I tried this SQL out in the query tool and it asked for the bind variable value and I entered my username and it displayed 1 row correctly. But somehow this doesn't seem to work for the tab.
    Am I thinking the wrong way here or what am I doing? :)
    Sincerely
    Johnny

    It is standard tab set, and I want the tab going to page 2 to be invisible for non admins for example, but I seem to make the admin tab disapear even thou I know my sql is correct, if I disable the display condition both tabs is visible again, so am I thinking reverse, or is it something else?
    Message was edited by:
    Mr plow

  • How to display infinity symbol in Crystal Reports using PDF as output

    Hi
    I need to show infinity symbol (u221E) in reports. I am using a formula and based on certain criteria i have to display infinity symbol.
    If (somthing ) then show 'Error' (String)
    else if something then 'u221E' (String)
    This works fine in RPT file preview , but when opens in PDF , it shows ? mark as if not understood.
    I used ChrW (Number) but it has until 255 and does not have a number for infinity
    Can someone let me know how do i do this

    Thanks for your reply
    The version is JRC 11.8.4.1197
    It would not be feasible to upgrade at this moment, we are already in production and need a solution for showing infinity in PDF.
    Can you suggest something using crystal formulas could be possible or any other solution please .

  • (no inline validation error displayed)) condition type and plsql expression

    Hello all
    Is it possible to use a plsql expression (eg: (:REQUEST = 'PXX_LIST_ITEM')) AND (no inline validation error displayed)) condition type at the smae time ?
    HTMLDB must be testing a substitution variable when the conditional display section is set to 'no inline validation errors displayed'.

    Hello,
    I don't know for sure because I never used it, but I think you can use the pl/sql variable htmldb_application.g_inline_validation_error_cnt. This variable identifies number of inline errors found.
    You can also check if the variable htmldb_application.g_notification contains a value.
    Fred.

  • Hide / display conditionally export links and export options

    Hi all,
    Is there a way to hide / display conditionally export links in a dashboard. Also, is there a way to limit the export options to display only Export to Excel, and not all the other options such as pdf, etc.
    Thank you
    Regards,
    Laurent

    Hi Laurent,
    Regarding limiting the choices of export, you can refer to below post:
    Re: Export to only PDF,Excel, PPT
    Thanks
    Hyder

  • IPhone4S display unknown symbol when use USSD

    please when i used iPhone4S display unknown symbol when use USSD ???
    NOT : i dont know why cose as same time i have iphone 4 and used same carrier but  its WORK FINE AND show ussd

    iPhones no officially support USSD but I can sure it is support USSD because my friend's iPhone is work with USSD.
    I and my friend using same carrier same iPhone4S same codes,no JB but my friend's iPhone is work with USSD,only my iPhone cannot work with USSD.
    Thank for all answer,no need answer for me already because I just now send to apple store,they check is phone problem,so now claim warranty,need to wait 2 week to get back new iPhone =.="

Maybe you are looking for