Report management names with an apostrophe

Report 10 gr 2
I created a report and most of the features that I want to work as expected.
I have a report where I let the user enter their name in a field and last name on another field in the parameter form (which is how it is stored in the database)
If they enter a name with an aphostrophe, tell of Costa (first name or family name)
then I get the below error
REP-50003: invalid parameter: pfaction = http: / /...

I'm using as a keyword as seen below in the afterparam trigger and passing the parameter: p_where_last_name to the main query sql
: p_where_last_name: = ' AND SUPERIOR (: last_name) AS ("|") ' ||' %'|| Upper(:last_name) | » %'||''''||')' ;

What is the best way to deal with this issue

Also is there a way to capture this error
"REP-50003: invalid parameter: pfaction = http: / /..."
' and displays a message if so where and how, please advise.

Thank you.

Published by: Forms_Reports_Beginner on August 13, 2009 13:52

Chr (39) simply refers to the ASCII code for the apostrophe, if you want to concatenate an apostrophe in a string, you would have to put 4 apostrophes together, instead of doing that we use CHR (39) and he'll do the same thing...

i.e.
my_string: = my_string | '''';
my_string: = my_string | Chr (39);

They are both the same thing... REPLACE it is just looking for an apostrophe in your field and replace it for two apostrophes... the apostrophe is being escaped instead the start of a string which is what has been give like that, you're wrong.

Google's ASCII codes and you will find a table with the codes and the corresponding character it represents...

NOTE:
Because chr (39) returns a string / there is no need to add single quotes around it.

Published by: Rodolfo Ferrari on August 14, 2009 17:05

Tags: Oracle Development

Similar Questions

  • Change the sequence of commands to generate two reports by USE with different names.

    I have a special situation for the model of batch processing.

    Each DUT consist of two distinct products that need to be tested as a single unit.

    I can run every USE and generate a test for each report.  -aka. The standard use case works very well.

    However, we would like the records using this method. So I need a copy with a different name for each series.

    The idea behind this is that we have a story running for each half of the UUT. Given that the two halves will probably never meet.

    I looked at the BatchModel.seq and read some of the documentation, but I'm having a hard time to understand what is happening.

    I guess the items highlighted above are where the object to measure reports are generated. However, I don't know the mechanism for giving them the names among the Options report-> report menu Pathname file or how to change between these two points in time. Also are there tricks to get the report in duplicate with a different path in this configuration.

    All links to the relevant information would be useful. Thank you

    Just copy these two steps and between them and the copies have another step that is just a statement.  There, you can change the path of the report by setting parameters. TestSocket.ReportFilePath the new path.

    Ideally what you would do, is that the client using a callback.  So, your code would look like this:

    Write the object to measure report

    Write the report of the object to be measured (on the fly)

    Define report path reminder (override in customer OR statement step)

    Write the object to measure report

    Write the report of the object to be measured (on the fly)

    Hope this helps,

  • CanoScan 88ooF error report, "cannot communicate with scanner.

    When I try to use my scanner I get the error report, "cannot communicate with scanner, make sure it is plugged and truned on.» When I go into Windows Device Manager I can see it, and when I click on the buttonn properties, it says that the device is functioning properly. I downloaded the latest version of the software driver etc and I uninstalled and re installed again but I still get the same error report.

    I use Windows 7, 64-bit version.

    Above is I get the error message.

    After two days of fruitless efforts, I found my own solution. I downloaded and installed VueScan x 64 and it works a treat. I think that the problem I've been is due to the fact that the scanner driver is 64-bit and the programs that install are 32-bit, even if the scanner driver works perfectly fine 2 bit programs do not see.

  • Script of VM inventory for VM name with the location, the name of the Cluster and data storing total size and free space left in DS.

    Hello

    I wanted to collect script inventory VM VM name with location, name of the Cluster and data store total size and free space left in Datastore.I have script but his mistake of shows during its execution. Any help on this will be apreciated.

    Thank you

    VMG

    Error: -.

    Get-view: could not validate the argument on the parameter "VIObject". The argument is null or empty. Provide an argument that is not null or empty, and then try
    the command again.
    E:\script\VM-DS-cluster.ps1:7 tank: 20
    + $esx = get-view < < < < $vm. Runtime.Host - name of the Parent property
    + CategoryInfo: InvalidData: (:)) [Get-view], ParameterBindingValidationException)
    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.DotNetInterop.GetVIView

    Get-view: could not validate the argument on the parameter "VIObject". The argument is null or empty. Provide an argument that is not null or empty, and then try
    the command again.
    E:\script\VM-DS-cluster.ps1:8 tank: 24
    + $cluster = get-view < < < < $esx. Parent - the name of the property
    + CategoryInfo: InvalidData: (:)) [Get-view], ParameterBindingValidationException)
    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.DotNetInterop.GetVIView

    Get-view: could not validate the argument on the parameter "VIObject". The argument is null or empty. Provide an argument that is not null or empty, and then try
    the command again.
    E:\script\VM-DS-cluster.ps1:9 tank: 24
    + += get-view $report < < < < $vm. Store data-name of the property, summary |
    + CategoryInfo: InvalidData: (:)) [Get-view], ParameterBindingValidationException)
    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.DotNetInterop.GetVIView

    It seems that your copy/paste lost some.

    I have attached the script

  • Managing servers with virtual IPs / hostnames does not start

    Hi all

    I installed a cluster of OSB in load balancing and a load-balanced SOA (10.3.6) on two separate servers.

    -Server Admin SOA (runs on the server #1).
    -Server Admin OSB (runs on the server #2)

    I am using virtual hostnames for my managed servers of SOA and OSB, as follows:

    -Server of OSB managed #1: OSBHOST1VHN - ip: xxx.xxx.xxx.xxx (runs on the server #1)
    -Server of OSB managed #2: OSBHOST2VHN - ip: .yyy (runs on the server #2)

    -Server SOA managed #1: SOAHOST1VHN - ip: www.www.www.www (runs on the server #1)
    -Server SOA managed #2: SOAHOST2VHN - ip: zzz.zzz.zzz.zzz (runs on the server #2)

    -The BAM server managed #1: BAMHOST1VHN - ip: nnn.nnn.nnn.nnn (runs on the server #1)
    -The BAM server managed #2: ip: zzz.zzz.zzz.zzz - no name virtual IP here (runs on the server #2)

    I was able to start/stop the admin server managed nodes on each server so far Manager.
    Everything works great until we decided to stop the machines to add more memory.
    After the reboot, the servers admin started but not servers managed.
    Well, all the managed servers with vIPs failed, but the BAM #2 server started without any problems.

    For other servers managed, I get the following errors in the log files.

    # < 20 nov. 2012 15: 56 GMT > < error > < statistical ALSB Manager > < svlvsoa08.vlv.arvato.fr > < ms_prd_osb2 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > <>< 9583013bf964d764:32a0a378:13b1e86ef73 :-8000-0000000000000010 > < 1353426960019 > < BEA-473003 > < server of ' Agra delegation not available. Cannot get the aggregator distance
    java.rmi.UnknownHostException: could not find URL for the server 'ms_prd_osb1 '.
    at weblogic.protocol.URLManager.findURL(URLManager.java:145)
    at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.getInitialContext(WlsRemoteServerImpl.java:120)
    at com.bea.alsb.platform.weblogic.topology.WlsRemoteServerImpl.lookupJNDI(WlsRemoteServerImpl.java:76)
    at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.getRemoteAggregator(ALSBStatisticsManager.java:291)
    to com.bea.wli.monitoring.statistics.ALSBStatisticsManager.access$ 000 (ALSBStatisticsManager.java:38)
    to com.bea.wli.monitoring.statistics.ALSBStatisticsManager$ RemoteAggregatorProxy.send (ALSBStatisticsManager.java:55)
    at com.bea.wli.monitoring.statistics.collection.Collector.sendRawSnaphotToAggregator(Collector.java:284)
    at com.bea.wli.monitoring.statistics.collection.Collector.doCheckpoint(Collector.java:243)
    to com.bea.wli.monitoring.statistics.collection.Collector$ CheckpointThread.doWork (Collector.java:68)
    at com.bea.wli.monitoring.utils.Schedulable.timerExpired(Schedulable.java:68)
    to com.bea.wli.timer.ClusterTimerImpl$ InternalTimerListener.timerExpired (ClusterTimerImpl.java:254)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:531)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:252)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    # < 20 nov. 2012 15: 56 GMT > < emergency > < security > < svlvsoa08.vlv.arvato.fr > < ms_prd_osb2 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< 9583013bf964d764:32a0a378:13b1e86ef73: - 8000-0000000000000015 > < 1353426963376 > < BEA-090087 > < bind to the configured Admin port the server failed. The port may already be in use by another process. >
    # < 20 nov. 2012 15: 56 GMT > < error > < Server > < svlvsoa08.vlv.arvato.fr > < ms_prd_osb2 > < DynamicListenThread [Default] > < < WLS Kernel > > <>< 9583013bf964d764:32a0a378:13b1e86ef73: - 8000-0000000000000016 > < 1353426963376 > < BEA-002606 > * < cannot create a server socket to listen on the channel "Default". The 172.17.241.93 address may be incorrect, or another process is using port 7000: exception java.net.BindException: cannot assign requested address. > # < 20 nov. 2012 15: 56 GMT > < critical > < WebLogicServer > < svlvsoa08.vlv.arvato.fr > < ms_prd_osb2 > < < > main > < < WLS Kernel > > < 9583013bf964d764:32a0a378:13b1e86ef73: - 8000-0000000000000012 > < 1353426963377 > < BEA-000362 > < server failed. Reason: The server doesn't have to bind to any port can be used. See the log for details message. > # < 20 nov. 2012 15: 56 GMT > < error > < WebLogicServer > < svlvsoa08.vlv.arvato.fr > < ms_prd_osb2 > < < > main > < < WLS Kernel > > < 9583013bf964d764:32a0a378:13b1e86ef73: - 8000-0000000000000012 > < 1353426963387 > < BEA-000383 > < is not an essential service. The server will shut down >

    I tried to ping my vHOSTS:
    ping OSBHOST2VHN
    I managed to fix my VIP, so I guess they work properly.
    I checked the etc/hosts, and everything is set up correctly.
    I also checked config.xml (which I have not modified) and everything seems correctly (host, servers, IP, ports,...).

    The only one that has changed since the rebooted server is the setDomainEnv.sh in which I modified Xms and Xms values to increase the heap size.
    I only changed it on a single server to check if the settings we correctly applied.

    Can someone help me with this?

    Edited by: user13619168 Nov. 21. 2012 08:09

    Edited by: user13619168 Nov. 21. 2012 08:10

    Edited by: user13619168 Nov. 21. 2012 08:16

    Edited by: user13619168 Nov. 21. 2012 08:17

    seems you use duplicate port numbers, would you please change the port and make sure that it is not in use by any other process. hope this will help.

    -Negi Mukesh
    http://weblogicserveradministration.blogspot.in

  • ADI vs Report Manager

    Hello
    We are currently in 115102 EBS with 11 GR 2 database.
    We intend to move to realse 12 soon.
    Today, we work with ADI 7.2 Client Server - which used to be available at exit 12.

    I am asked by our DEV team to migrate to report Manager.
    I would like to know if Report Manager is part of the Web ADI, or if the report manager and ADI Web are separate tools.
    Would also like to know if there are specific measures to improve version 11i to 12 Report Manager

    Thank you

    Don't WebADI, and at level 115102 to R12 Report Manager is "transparent"? for example: are there patches that we must apply after the upgrade to R12?

    Please see (Report Manager (FRM) [ID 726958.1] patch list), you need to consider applying the R12. FRM. B as it is not included in 12.1.3

    Thank you
    Hussein

  • OSB: "MQ Queue Manager Name" customization is not possible?

    Hello

    We try to use a customization file to set the "MQ queue manager name" on a MQ connection, but this property does not seem to be available for customization.

    It is not in the export of customization to create files and to 'guess' does not work either - we tried the two 'MQ queue manager name' and 'name of the MQ connection manager.

    Http://download.oracle.com/docs/cd/E11036_01/alsb30/consolehelp/customization.html documentation seems to say that it is possible, if someone can give us a helping hand with a snippet of XML?

    -Johan

    I raised a SR and got this response:

    Generic note
    ------------------------
    Hi Johan,.

    It seems that you have encountered a known problem already entered as a bug with the following description:

    BUG 10152445 - 'CONNECTIONS MQ QUEUE MANAGER NAME' MISSING IN the CUSTOMIZATION FILE

    Description of the problem:
    -------------------------------
    .
    Customer use customization files. They have some MQ resources which
    they automate the import.
    When they create a customization file for console of the OSB, property "MQ Manager."
    Name"is missing from the generated file.

    ....

    One solution is to add this element to the hand
    .
    The connections MQ queue manager name


    MQConnection
    by default/MyResource


    xmlns: XS = "http://www.w3.org/2001/XMLSchema" > YOUR_NEW_QUEUE_MANAGER_NAME

    then change the entry of different element FindAndReplaceCustomizationType
    for connections MQ queue manager name.
    .
    .



    MQConnection
    MQ connection timeout
    The MQ Connection Pool size
    MQ version
    MQ connection port
    MQ connection string name
    MQ host connection
    The connections MQ queue manager name

    MQConnection
    by default/MyResource

    fake
    Search string
    fake

    Replacement string

    .
    ================

    The bug has been fixed in the next version baseline code, and a patch is available only for the 11.1.1.3 version. So if you use OSB 11.1.1.3 you can download the patch from MyOracle support. Please, go to the tab "Patches and updates", insert 10152445 as the patch number and click on the search"" button. When the results appear please click the patch number and you should be able to download it. Instructions to apply the patches are available by clicking on the button "readme".

    Please let me know how it goes.

  • My Oracle Forums manage name changed without my notice!

    Hello Oracle moderators of the Forums,

    I joined Oracle Forums 04/04/08 with and email address (1). I decided to change my email address and manage names, so my name of handful of forums is cutedba and my email address is (2). I already had like 8 messages in oracle forums. Today when I logged in the oracle forums, I found my handle name is user8722709 and my messages recovering at the only post (with this thread, it will become two positions).

    and my date of junction became 19/08/09.

    I went into the Panel and changed the profile name and a handful of cutedba. I received the following message is displayed:

    "The grip, you are trying to update is already in use, please mention any other value and try again."


    and I logged in under my new address of e-mail (2) as usual. Please fix this for me. Because I'm the cutedba in the Oracle Forums.


    I would also like to score one of the sons that I created earlier as a reply, but I can't the forum think that I'm not the author of this thread:

    How to install oracle several houses in oralce 9i on unix


    Thank you and best regards,


    cutedba

    I am completely confused about the issue. Please keep these principles in mind:

    -Your username (A), (B) handle and email associated with your account to Forums (C) (to receive emails from Watch) are three different things.
    -A, which is always an email address, can be changed to oracle.com/admin/account, NOT through your control panel. B and C ARE editable via your control panel. (Finally C will automatically the same as A.)

    If you have two different instances of A (many people do), each will be associated with different Forums handles and different stories, and they cannot be merged. If you want to "transfer" your ID, you must ask the account not desired to be deleted first (whole Forums associated with is also deleted!), then you can edit the handle of the existing account you like.

  • If I buy a person's computer and windows is registered in their name can I have register it in my name with the OEM for windows

    If I buy a person's computer and windows is registered in their name can I have register it in my name with the OEM for windows

    If I read your question correctly, this article should solve your problem for you:

    "How to change name and company information after you install Windows XP"
      <>http://support.Microsoft.com/kb/310441 >

    HTH,
    JW

  • I find these records long name with 20 or more charactors and inside them is nothing else than "mrt.exe" file. I find them in random places.

    Original title: MRT. EXE files are all over my computer.

    I find these records long name with 20 or more charactors and inside them is nothing else than "mrt.exe" file. I find them in random places on my drive c: and many of them on my external G drive in the root. A new appears approximately every three months.

    I know the mrt.exe is supposed to have something to do with the malicious software removal tool, so I don't want to just delete them and have a problem.

    Allen

    Hello

    Are you prevents the tool from running?

    See Q21 at the end of this article

    The Microsoft Windows malicious software removal tool helps remove specific and prevalent malicious
    software for computers running Windows 7, Windows Vista, Windows Server 2003, Windows
    Server 2008, or Windows XP
    http://support.Microsoft.com/kb/890830

    What you do not know the Windows Malicious Software Removal Tool
    http://blogs.Computerworld.com/what_you_dont_know_about_the_windows_malicious_software_removal_tool

    What is Windows Malicious Software Removal Tool (mrt.exe) and how to use it
    http://www.vista4beginners.com/Windows-malicious-software-removal-tool?page=1

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • When you add pictures to the Vista image folder it creates a folder HIDDEN of the same name with two copies of the same image inside

    I use Vista 32 bit. I started to see this problem when I recently copy photos from an SD card.

    When you add pictures to the Vista image folder it creates a folder HIDDEN of the same name with two copies of the same image inside

    I saw hidden files enabled in folder options.

    Any help is appreciated.

    Hey guys... I found the answer... Problem is with the software vaio content analyzer that comes with the vaio...

    It just search for Vaio Content Analyzer (parameters) and deselect

    Video analysis
    image analysis
    analysis of the music

    I went looking for this crazy thing... used almost all types of online scan, and finally to find that it is caused by an internal software only...
    anyway thanks to all... Hope it helps someone in the future :)
  • I am making a new user account, but when I try to call my computer says that he cannot have another name with characters inside

    Original title: new user account...

    I am making a new user account, but when I try to call it my computer says it cannot have another name with characters inside (>)

    Hello

    I suggest you try to create the new user account using the command:

    'control userpasswords2' run box or the start search box and then create the new user account.

    Follow the steps for the same thing:

    a. click Start, type control userpassword2 in the search box and press enter.

    Hope the information is useful.

  • ACS - AnyConnect 3.0.5080 Network Access Manager (NAM) by selecting the right certificate

    Hello

    We are authenticate our users of portable Windows7 wireless using Microsoft CA issued certificates from computer to Server v4.2 ACS Cisco successfully using EAP - TLS

    However AnyConnect 3.0.5080 is installed and Network Access Manager (NAM) runs on laptops that Nam appears to be selecting details in the bad certificate for EAP - TLS authentication to the ACS server, it selects username details in a personal certificate on the computer of users that is used by LYNC 2010 and does not use the installed machine certificate.

    Newspapers of ACS that indicate this is attached.

    NAM will always use the details obtained from a personal certificate of feedback a computer certificate (if they both have the same domain name that they contain).

    Nothing specific that I should be looking.

    Thanks in advance for any help.

    No problem Jim

    If you could please update this thread as you progress, this will help a lot of customers in the future!

    Thank you

    Tarik Admani
    * Please note the useful messages *.

  • Someone at - it a single report or dashboard with proposals / projects together

    While the portfolio rationalization, we are looking for a single report or dashboard with proposals / projects together. We need to know what looks like our planning horizon based on our current projects and proposals. Does anyone have any suggestions on a solution?

    I just posted the S - Curve_Report_V2.xls in the Documents folder.

  • Change all the names of Swatch "Name with color value"?

    Y at - it a Javascript command change the nuances in a document to the "Name with color value" box in the Swatch Options? I know there are scripts to change the names of swatch based on the value of the color, but I'm looking for a script that applies this specific to all checkbox.

    Thanks in advance!

    This should do it:

    (function(){
      var doc=app.activeDocument,
      sw=doc.swatches.everyItem().getElements(),
      c;
      for(var i=3; i