help text replacement

IAM having a query
select enkuiri.cara_lelong, DECODE ( enkuiri.cara_lelong, 'A', lelong.HARGA_BIDA,'B', enkuiri.HARGA_BIDA ) tab from lelong , enkuiri
If it satifies 'A' wat should I display in my report hard coded text is

Bahawa & < enkuiri.harga_rizab > bagi Maksoud ITU.

OrElse if she satisfied 'B' wat should I display is

Harga bagi Farouk jualan itu hendaklah rizab Bahawa & < enkuiri.harga_rizab >


How to do so

Why don't you use simple concatenation like that?

select enkuiri.cara_lelong, DECODE(enkuiri.cara_lelong, 'A', 'bahawa '||lelong.HARGA_BIDA||' bagi maksud itu.','B', 'bahawa harga rizab bagi maksud jualan itu hendaklah '||enkuiri.HARGA_BIDA ) tab
from lelong , enkuiri
....

-Clément

Tags: Oracle Development

Similar Questions

  • API to set the help text

    Hi all

    I'm on Apex 4.2.5. I want to give a superuser can change the help text in an application. Is there an api procedure which gives the floor so that a user (super) can change the help texts of the fields of the application? I can then write a page with a report of all elements with labels with help texts (query select page_id page_name, region, apex_application_page_items label where application_id = 110 and lower (item_label_template) like '% with assistance %') and call the api when the help text is changed.

    Otherwise, I'll put in a clean table help texts. But how to manage that when a user clicks on a link with the help text, who recorded the text appear?

    Kind regards

    Tom

    tomvdduin wrote:

    I'm on Apex 4.2.5. I want to give a superuser can change the help text in an application. Is there an api procedure which gives the floor so that a user (super) can change the help texts of the fields of the application?

    No, but there is a feature request for it.

    Otherwise, I'll put in a clean table help texts. But how to manage that when a user clicks on a link with the help text, who recorded the text appear?

    You will have to create your own AJAX dynamic action that replaces the built-in bindings click on the help links.

  • Helps to replace a string in a txt file with a string from a csv file

    Hi all

    I worked on the script following since a few days now, determined to exhaust my own knowledge before asking for help... Unfortunately, it didn't take very long to exhaust my knowledge :-(

    Basically, I need to replace a value in a single file (raw.txt) with the value of another file (userids.csv) when a variable is. Then I released the results of a third file.

    To do this, I divided the "raw" file into variables using the ',' as the separator, the problem is that some variables are intentionally empty, where the fi $variable = "statements.

    It is currently what I want to do but only when the userids.csv file contains a single line. It is obviously because of the foreach ($user in import)... What I need to figure out is how to loop through the file raw.txt, text replacement when a variable in the user ID file is the text in raw.txt... I hope that makes sense?

    The user ID file is in the following format - user, service, Dept that can contain dozens of lines

    I would appreciate any pointers :-)

    See you soon

    # Treatment
    $importraw = get-content i:\raw.txt
    $import = import-csv i:\userids.csv-en-tete UserAccount, functional, Dept

    {foreach ($user in $import)
    $useraccount = $user. UserAccount
    $userfunction = $user. Functional
    $userdept = $user. Dept
    {foreach ($line in $importraw)
    $first, $second, $third, $fourth, $fifth, $sixth, $seventh, $eighth, $ninth = $line - split(",")
    $linesproc = $linesproc + 1
    If ($sixth - eq ") {}
    $temp6 = "6TEMP".
    Write-Host "field Null detected - assigning temporary value:"$temp6 ".
    $sixth = $temp6 # the assignment of a temporary value so that - statement to replace later works
    }
    If ($seventh - eq ") {}
    $temp7 = "7TEMP".
    Write-Host "field Null detected - assigning temporary value:"$temp7 ".
    $seventh = $temp7 # the assignment of a temporary value so that - statement to replace later works
    }
    If ($fifth - eq $user.) UserAccount) {}
    $line - $seventh, replace $user. Dept | Add content i:\Output.txt
    }
    else {}
    $line - $seventh, replace "/ / customer. Add content i:\Output.txt
    }
    }

    }

    Try the attached version.

    The problem, in my opinion, was in nested ForEach loops.

    Instead I've implemented with a lookup table

  • Why did not restore my text replacements?

    Why my text replacements didn't restore my new iPad from my old?

    Hi gebloom,

    I understand that you are missing text messages on your new iPad.  I'm not sure what you mean by "text replacements."  The resources below explains how to transfer content from the iPad to the other.  This is the process you used?

    Transfer the contents of an iPhone, iPad or iPod touch on a new device

    Take care

  • Japanese text replaced by boxes after the recent update of Windows

    Windows 7 can not represent the Japanese text after that Windows Update - changes the text boxes - applies to all applications - itunes, Windows Live Mail - mail header text replaced by boxes. The emails themselves are not affected - Japanese content can be displayed. Made a restoration and Japanese text returned. However then windows update again and the Japanese text has been lost, which means that this issue is one of the updates.

    Hi HiniKuru,

    Allows us to try to understand the problem causing the update.

    Install the updates, if the problem persists

    You can try to change the display language for the Japanese, follow these steps:

    1. click Startand type change display language in the box start the search .

    2. click on view change of language.

    3. in the drop-down list that appears, select the language (Japanese) that you want, and then click OK.

    Now, check if the problem is resolved, if the problem persists

    Follow the steps mentioned in the link below

    Windows 7 language packs are available for computers that are running Windows 7 ultimate or Windows 7 Enterprise

    http://support.Microsoft.com/kb/972813

    Uninstall the most recently installed update until find you the problem causing the update:

    1. click on start to reduce this includes this image, type Appwiz.cpl in the Start Search box, and then click Appwiz.cpl in the list of programs . Collapse this includes this image if you are prompted for an administrator password or a confirmation, type the password or click continue.

    2. click on view installed updates.

    3. click on recent update (go by the date) that you want to uninstall, and then click Uninstall.
    Follow the instructions that appear on the screen to complete the uninstall process.

    Note: It is not recommended to uninstall an update; We try the following steps to understand the problem causing the update. Uninstall an update at the same time, restart the computer each time and check if the problem persists.

    Let us know the problem causing the update (make a note the number of KB) and let us know for further investigation

    For more information, see the link below

    http://blogs.msdn.com/E7/archive/2009/07/07/engineering-Windows-7-for-a-global-market.aspx

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Create the help text for the column tabular APEX region

    Hi guys,.

    Please see the screen - shot below.

    I have to do two things:

    1. this "5000" value is passed in the URL, for example P_41_TOTAL_LEAD_VALUE and I want to display in the currency format, i.e. 5 000.
    If the value is 60000, it should be displayed as 60 000.

    2. I am required to display the help text for column of tabular form - expected quarterly value, how to proceed with that?

    Thanks in advance

    Arpit

    Capture.JPG

    Hi David,

    I have not tried to use the Format mask, however there is no change in the display format.

    Even I tried in a different format, nothing happens.

    Try the steps given, which will solve your problem

    1. create a hidden item I say P41_LEAD_VALUE

    Protected value: No.

    Pass the URL value on this element hidden instead of P_41_TOTAL_LEAD_VALUE.

    2 create a calculation on the point P_41_TOTAL_LEAD_VALUE

    Type: SQL Expression

    Point calculation: after region (s)

    Calculation: TO_CHAR (: P41_LEAD_VALUE, '999G999G999G999G999G999G990')

    Hope this helps you,

    Kind regards

    Jitendra

  • How can I me "help text" to export to PDF (on PC)?

    I have created a form and entered the help text for each field.  However, I can't text 'help' to transfer to the PDF form.  I use Acrobat Pro XI on a PC.

    I suggest that you create only the fields in Acrobat. FormsCentral is dead, quite well. It might be good for the layout of the form, but the fields must be added only in Acrobat. You can add the ToolTip text that appears when the user hovers over the field in Acrobat, under properties - general tab.

  • Help text for the dynamic elements

    Hi all

    I created a few dynamic elements using utility APEX_ITEM. Can provide us the help text to these elements in a pop-up window or APEX how do in-house?

    This requirement is feasible?

    Thank you

    Sunil Bhatia

    Oh,.

    I solved my question itself. For all those interested in this, we can do it like this:

    "onmouseover =" toolTip_enable (event, this, "this is a bubble"a tooltip")" ' ' in APEX_ITEM. Argument p_attributes TEXT of

    APEX_ITEM. (TEXT)

    p_idx in NUMBERS

    p_value IN VARCHAR2 DEFAULT NULL,

    p_size in NUMBERS by DEFAULT NULL,

    p_maxlength in NUMBERS by DEFAULT NULL,

    p_attributes IN VARCHAR2 DEFAULT NULL,

    p_item_id IN VARCHAR2 DEFAULT NULL,

    p_item_label IN VARCHAR2 DEFAULT NULL)

  • How to recover the database element help text?

    Hello

    I want to let the customer to change the help text of point. Is it possible to retrieve the help text of the element of my own custom database table based via a PLSQL function call or something similar?

    TIA,

    Tamás

    Take a look in the label template. You can reference the name of the item and the item id here. This modal page plugin is availabel to apex - plugin.com.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    https://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • "Help text" change for end users?

    Hello

    I like to leave the key end users to change the element help text on the pages of the APEX, without giving access to Apex Builder. Is this possible? We use the APEX 4.1.

    Tamás

    Published by: Tamas Szecsy on May 22, 2012 12:48

    I guess you need to implement a custom solution where you can create a mapping table that holds the info on AID for the ELEMENTS of the apex.

    And change your point label template to get the help of your custom table.

    So now, you could provide the end user with the help of change required function.

  • Gray help text in the text box

    Nice day!  I've looked everywhere and have not found a solution and would be very grateful for the help.

    I am working on a form with of many drop-down menus and boxes of text for users to fill out.  I am eager to have the gray help text will appear in the boxes by default, and then the text disappear when the user clicks or tabs inside.  This format is very common on Web sites and would work very well with what I'm doing.

    At this point, I'm a cut and paste Javascripter.  However, mainly through this forum, I was able to create some pretty cool things, and I'm looking forward to learn more.

    Any help would be appreciated!  Thank you very much want to and have a great day!

    Software: Adobe Acrobat Pro XI

    Set the text that you want to use as default for the field and then adding these scripts:

    Action on Focus:

    If {(event.target.value is event.target.defaultValue)

    Event.Target.Value = "";

    event.target.textColor = color.black;

    }

    Action on the blur:

    If (event.target.value =="") {}

    Event.Target.Value = event.target.defaultValue;

    event.target.textColor = color.ltGray;

    }

  • How to add the help text to the tabular columns?

    I have some tabular forms. I want to add help to the header of the column.
    APEX allows you to add page elements helping, but I don't see the option for the tabular columns. No idea/solution workaround?

    Thank you

    Hello

    I have a sample how to add Help ToolTip to the header of the report
    http://ActioNet.homelinux.NET/HTMLDB/lspdemo?p=63

    Mouse over the title, and see you help text.
    See this post for instructions
    Add help text

    PS: I think you can do better solution for example using dynamic action

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • Hyperlink in the help text element

    Hi guys,.

    I am currently having a help text area that appears on a text element to display a hyperlink.

    We have an internal intranet document that displays detailed documentation for the user who gives help on the page element. Does anyone know if it is possible to have this document as a clickable hyperlink in the help text on the ground?

    I tried to do something like a href ="" | " NVL(ltsc_r.Attachment,'-') | » » >'|| ' Click to view ' | ' < /a > in the help text, but had no success.

    Any help would be great.

    Chris

    Edited by: Cashy on 23-Sep-2011 01:51

    Hi Chris,

    I have not tested this proposed at all, but I would try to create a page element 0 with the source as you have below and then try to click here

    Thank you

    Paul

  • Apex 4.02 BUG: text field with AutoComplete. wrong help text

    The rest of the wizard for a text field with AutoComplete you reach a screen where you can enter an LOV query. The text of the query box has following help text

    Enter the query that returns the list of values. The query must select two columns in the following order, first a display value then a return value. For example:

    Select ename, empno
    WCP


    When you select two identical columns, remember to use the single column alias, for example:

    Select d, r ename ename
    WCP

    However, the query must return only 1 value.

    Thank you, Rene, I fixed in 4.1.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Spanish help text

    Where can I find the help text (download) the InDesign in Spanish?

    Cordially - Gernot Hoffmann

    The help page is here, in the top right corner there is a PDF file available for download.  Adios Amigo!

Maybe you are looking for

  • How to transfer playlists from iTunes on a flash drive

    How to transfer playlists from iTunes on a flash drive

  • Group VI freezes after throwing a panel near

    I am under Labview 15 and try a very basic VI to impliment into my full program. I will be essentially four stations for the acquisition of data running and you don't want closure if one of them is running the program. So I have 4 Booleans wired to t

  • try to install the new 18.5 "HP monitor

    I needed a new monitor, I bought a monitor 18.5 "HP S1931a, it works but it doesn't look good, not too strong. I noticed that it says he should have a resolution of 1366 x 768, but I'm running on Windows XP and it seems that I can't beyond 1024 x 768

  • Not connected blackBerry smartphones

    Hi am my phone Sat with talk talk can go on the internet via wifi at home and can make calls and send text but when im can't get on the internet, but always calls can not set up an internet company also said email address?

  • Your blackBerry Smartphones ring question

    I was sent a MMS with a ring in it and I liked it a little so I recorded my turn.  Now, each time, I get a message, SMS, MMS, Email, etc it ringtone... times and there is no way to stop it.  I deleted the ringtone and the message that he came, but sh