How to apply the escape sequence on the elements of input data?

I have a script that uses the cfind() function to find an apostrophe (') in a string of DAL.
This does not work as expected.

The script went something like this:

Input = Trim (srchdata("!//applicant/ApplicantName",1,100))

#ApostrophePos = cfind(Input,"'",)

This always returns 0, even when the name of the applicant has an apostrophe.

Further investigation has shown that if the ApplicantName has the character to escape '& apos;', then the above function works.

My data has "Bridie O'Reily" in the element ApplicantName, which was the issue.
I changed it to "Bridie O & apos; Reily"and my cfind function work.

Is there a way to retrieve the data and apply escape characters?

For example, in this case, is it possible to convert "Bridie O'Reilly" to "Bridie O & apos; Reily"before you apply the cfind?

It is very good. But what I was asking was if there was a function or something that will take the apostrophe (ASCII, code 39) from the XML and manipulate it in a script of DAL ' then apply cfind()

Furthermore, I solved the initial problem using cfind (Input, char (39),).

Tags: Oracle Applications

Similar Questions

  • BlackBerry smartphone how to apply the most up-to-date outlook connector

    I found a previous post that have been able to help me understand how to remove the existing miscrosoft office conenctor, but orders offered to record the current outlook connector went unrecognizable by my computer.  Result being that there is not a tab in outlook when you try to configure a synchronization.

    I use office 2007 if it is useful and desktop manager 5.0

    Thanks for any help

    This article helped!  Its working fine now.  Thank you!

  • How to apply the Calendar control for date field?


    I created the field date tomcat creation calendar control by OPM and the environment and which apply as CSS thanks to OPM.

    But it does not work for the field to date, but if I changed to the text field, then he gives me the calendar control.

    So what changes required for this?

    Thank you

    Looks like you have changed a CSS style that applies to all the input controls and not only the date controls. Add something just for the dates, the simplest method is to change the model, which control the rendering of controls date (DateInputControl.vm).

  • How to use the acquisition of input data acquire a signal at a frequency while writing to the file at a different frequency

    Hello I'm trying to read in a temperature of a thermocouple and displayed on a waveform graph and at the same time, I want to write data to a file at a significantly lower frequency.  Currently, I am sampling data acquisition at chaque.01s and I would like a sample to write to the file every 2 s.  I thought of activating/deactivating the option activate the relay every 2 s, but I don't know how to do that and I wouldn't be surprised if there is a standard way to do this, but I've not been able to find.

    Thank you


    If you are sampling of chaque.01s and you want to write a snack every 2 s, what about all the other samples?  You want to just throw away?  You read so 200 samples in 2 seconds.  But you want to write a sample.  You can do it if you don't mind losing the other 199 samples.

    You could use the elapsed timer function and the release of the elapsed time of a structure of business wire.  Put your writing inside the real deal function.  Nothing in the case of false.  Make sure that all of the timer to reset automatically.  If every two seconds, the case will be set to true, and will be called the write function.

  • How to apply the "Slate Pro Light" using CSS font?


    Could you tell me how to apply the font of "Slate Pro Light" using CSS? I have not found a solution for the 'Light' slate Pro variation selection.

    Thank you.

    I usually use the definition of CSS of police-family at the following address on my html and body elements:

    font-family: "Slate Pro", Slate, "Myriad Pro", "BBAlpha Sans", Helvetica;

    Potentially adding "slate Pro Light" should do the trick. Alternatively, you could take advantage of the make-weight property when you need a lighter framework:

    font-weight: normal|bold|bolder|lighter|number|initial|inherit;

    In this case, lighter, might do the trick?

  • How to apply the strategy of UCS1.4 collection (1 d)

    Hi all

    I try to collect statistics on the performance of the network. but do not know how to apply the policy to the collection.

    Service profile, I cam see political Stats. But within the political framework of Stats, there are onlu available in config/choice is political threshold.

    Can someone help out me? Thank you very much!

    I think this is what you are looking for?

    UCS stores the past 5 statistics records at the "Reporting Interval" setting;
    There is no configuration to change that number.  You can put this interval out 8 hours but then you only get a snapshot every 8 hours. Trending or history retrieval would require an interval based extraction and storing application that utilizes the UCS XML API.

    This is a link to the UCS XML API information.

  • How to apply the theme of Oracle Alta UI in ADF

    Hi all

    I use Jdeveloper release1.

    Can anyone provide your inputs on how to apply the theme of Oracle Alta UI in the ADF.

    For any consultation on Alta IU @

    Thank you and best regards,

    Miko Auntie.

    Oracle ADF: Customized design

  • How to apply the filter to a specific column condition, but not to the report?


    I'm having a problem in the application of a filter to one of the column condition.
    I have a scheme with the table around 10 dimension tables and a fact. My requirement is to provide a count on the table of facts with associated with some other columns in the dimension tables.

    Lets consider a scenario with tables as sales (Fact), region (Dimension), Year (Dimension), Type of sale (Dimension).

    Now my requirement is to highlight the fields

    City (Region) - city
    Sales Count (dirty table) - number of all sales of the fact table
    Sales Count (dirty table) - count of all sales of the fact which type of sale table is 'Cash'

    Here, my question is how to apply the filter condition of Sales Type = 'MONEY in' only on one of the Sales Count column that comes from the fact table. I want to be ordered for the fourth column, the filter condition.

    Can someone let me know how?

    Thank you

    You must do this:

    1) click the button column fx sales. (This procedure does than on fact, not attributes.0

    2) click on the filter button.

    (3) select the size of sales from the left Type "selection list."

    (4) in the filter window, enter CASH, and click OK.

    This will create one filter on sales 'use' size 'type sales' as the filter. It willl filter only to this column.

  • How to apply the mass PhysX to a w3d created with max


    I need to figure out how I can do to apply e.g. "mass" or "restitution" to some body created with 3d max and imported in Director w3d format.

    I know how to apply 'transform.position', 'transform.rotation' to a w3d created with max.
    and how to apply the mass and the return of an object that is created with lingo, but I do not know how to do mass a w3d created with max.
    Who is the syntax?

    Can you give me a hint?
    Thank you.

    It works for me :-)

    I sent you a private message.

  • How to apply the gradient to the entire page


    Can someone tell me please how to apply the gradient to the entire page as a gradient background color.

    I tried for centuries and can not see the routes to apply background color

    any ideas? step by step please I really get lost because I'm new to Indesign and do not know the names of all the tools.

    Thank you

    If you want to this gradient to print (or export) with the page, and then you have to draw a rectangle and fill with the gradient.

    If you want on a number of pages, put the rectangle on a master page. You might want to add a layer and move it to the back, put the rectangle on that layer, then lock the layer.


  • How to apply the AUTOFILTER on interactive report.


    I'll have a report / form based on assume that the table EMP

    Page1 - Interactive (report)
    Page 2 - form

    report query-> select * from EMP;

    1 has created a new employee P2_EMP ('ABC') on page 2 and SAVE the record.
    2. as soon as I save the record on page 2, the control returns to Page1 (Interactive report)
    3. on page 1, all the Archives of the employees are displayed.

    What I want to, whenever I create a new employee P2_EMP = 'ABC' and SAVE the record, control on Page1 (Report) but only recording with employee P2_EMP = 'ABC', should be displayed on page 1...

    HOW can I achieve., I mean how to apply the AUTOFILTER on Page1 (interactive report)

    Currently, I have to manually apply the FILTER on page 1 (employee = ABC), I want to avoid.

    Thank you

    Hi Deepak,

    Could you have another element to the 1 'P1_NEW_EMP' page, pass this back into your branch when control passes from Page 2 to Page 1 and then put it as a condition of your report.

     select * from EMP
    where (employee = :P1_NEW_EMP or  :P1_NEW_EMP = '');
  • How to clear the old cumulative game data in the collection of solitaire Microsoft - Windows 8

    How to clear the old cumulative game data in the collection of solitaire weird... is to say total games, victories, % etc...


    Microsoft Solitaire Collection is a combination of card games and he has not a good reset option for all games.

    Some games have the New Deal option when you right click to start a new game.

    However, on some games have the ability to reset the cumulative Scores. Follow the instructions and check if this.

    (a) click here to open the game.

    (b) press on Windows key + C.

    (c) click settings.

    (d) click on Game Options.

    (e) whether specific game and click reset a cumulative Score .

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • How to automate the process of loading data using load file & Task Scheduler


    I do the automated processes to load the data into Hyperion Planning application using the file data_Load.bat & Scheduler of tasks.

    I created Data_Load.bat file, but the rest of the process, I cannot complete.

    Could help you me, how to automate the process of loading data using the file Data_load.bat & task Scheduler or what are the rest of the file is require it to achieve.

    Thank you

    In response to your question using the maxl for loading scripts?

    If Yes, I've seen and deliver in the batch (ex: load_data.bat) that is you do not have the path of the maxl script complete with a batch when passing through the event the task scheduler will work, but the log file and / or error will not be created. Which means lots claims it linked task scheduler, although he did not do what you need to.

    If you use maxl use this as the batch

    "essmsh C:\data\DataLoad.mxl" or you can also use the full path for the maxl or work elsewhere. The only reason why I think that the maxl can then not work is if you do not have the updated batch updated to call on all LANE changes maxl or if you need to update your environment variables to correct the command essmsh to work in a command prompt.

  • How to generate the script to insert data tables present in a

    How to generate the script to insert data from one table in an entire schema under environment sqlplus

    with toads it please help me please!

    905310 wrote:
    How to generate the script to insert data from one table in an entire schema under environment sqlplus
    with toads it please help me please!

    The correct method by using the pump of the database or import/export or unload the data in CSV format for loading using SQL * Loader.

    Generate instructions insert with literals is very bad choices - the bind variable is missing. It will be quite slow because many other CPU cycles are spend on hard analysis. The shared pool will become fragmented. This can cause errors of memory for other applications when they attempt to analyze SQLs for cursors.

  • How to replace the element on the page master on master spread [JS CS5]

    Hi all

    There is a big media (scripts) on how to replace the element template on a page of a specific document, but my problem is, I've added new Master spread based on a further propagation where newly added distributed Master I need to replace all the elements to master basic page.

    pageItems [curPageItem] .override (destinationPage)

    works well if you replace the elements of master page on the pages of a document, but what works for replace page elements master master page for example

    pageItems [curPageItem] .override (destinationMasterPage)

    Thank you


    Similar code worked for me (in CS4 - the machine, I had very practical is the one I use to accompany clients on older versions). Are you sure that your destinationMasterPage is a page and not a spread? This would cause a failure.


Maybe you are looking for