Problem With the Triggers while migrating Forms from 5 to 6i

When I open the version 5 fmb file in Forms 6i, some of the triggers in the form level triggers and also in data block, are having red arrow marked on them and they seem to have no code in them. So when i compile the form then those triggers are shown as errors and when I close those triggers, they are deleting.
The error looks like this..
Error 103 at line 2, column 1
Encountered the symbol "END" when expecting one of the following:
begin case declare end exception exit for goto if loop mod null pragma raise
return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql commit <a single-quoted SQL string>
And finally the form will compile with out any errors. But when I run the form getting error again saying,
FRM 10221: Cannot read file

Hi,
the forms migration assistant tells you about v2 styles triggers (even if they are not migrated ; ) )
take a look at :
[url http://download.oracle.com/docs/cd/E15523_01/doc.1111/e10394/migtool.htm#i100490]Using the Oracle Forms Migration Assistant
Raises a warning in the Form module's log if V2-style triggers are found.
There is also a point you must look at.
In a former project I made a migration from forms 4.5 to 10g and there was foms-level triggers applied at let say the block level or item level (I cant remember exactly) and this is not permitted anymore in 10g.
Again the forms migration assistant Provides warnings about triggers defined at incorrect levels.
Hope this helps
Regards,
Jean-Yves
Edited by: JeanYves Bernier on Mar 10, 2011 9:10 PM

Similar Messages

  • Problem with DECODE statement while migrating forms to 6i

    Hi,
    I'm migrating a form from 5 to 6i. When I compiled the form, I got this error witha decode statement.
    The error is
    Error 307 at line 15 column 7
    too many declarations of "DECODE" match this call
    The trigger has this code:
    IF :PRUN_RECS_INSERTED = 'Y' THEN
          RETURN ;
       END IF ;
       INSERT INTO GJBPRUN
        ( GJBPRUN_JOB,
          GJBPRUN_ONE_UP_NO,
          GJBPRUN_NUMBER,
          GJBPRUN_ACTIVITY_DATE,
          GJBPRUN_VALUE )
       SELECT :KEYBLCK_JOB,
              :ONE_UP_NO,
               GJBPDFT_NUMBER,
               SYSDATE,
          DECODE(GJBPDFT_VALUE, 'SYSDATE',
                          DECODE(GJBPDEF_LENGTH,'11',TO_CHAR(SYSDATE,'DD-MON-YYYY'), SYSDATE),
                          GJBPDFT_VALUE)
       FROM   GJBPDFT G, GJBPDEFEdited by: Charan on Mar 16, 2011 9:15 AM

    Hi Charan
    i think it's all about using both CHARACTER and DATE values at the same time in a DECODE statment u should either use char or date datatype.
    DECODE compares expr to each search value one by one. If expr is equal to a search, then Oracle Database returns the corresponding result. If no match is found, then Oracle returns default. If default is omitted, then Oracle returns null.
    e.g.
    If expr and search are character data, then Oracle compares them using nonpadded comparison semantics.
    expr, search, and result can be any of the datatypes CHAR, VARCHAR2, NCHAR, or NVARCHAR2.
    The string returned is of VARCHAR2 datatype and is in the same character set as the first result parameter.
    for more pls have a look here
    Hope this helps,
    Regards,
    Abdetu...

  • Problems with the items (control) in forms 9i (Re)

    Hello,
    I write this problem in a other post and but don't have any feedback about it(So I will give another try:-) )
    The problem that I will describe don't happen all the time and is very rare but I want to know if it's a normal bug of forms or something more special of our PL/SQL code...
    So here we are.
    Is there others developpers here that have problems with the mouse cursor of the user that seems to be "jammed"(blocked, trapped) in a text item (or another control, like a list item). When this problems happen, the user can't go on another field of the forms with his mouse cursor(Mouse click), the only thing that can resolve that is to refresh the page with Internet Explorer, and after that, he is free to go on another field of the forms.
    This problem is very rare but happens sometimes.
    Thanx in advance!

    Hi,
    This problem is due to failuer of navigation of mouse cursore. For more specific solution can you give the error message and error code, So that we can have exact picture. Waiting for error code......

  • I have a problem with the speaker while using viber, Tango and rebtel

    I have upgraded my iPhone 4 to 5.1.1 and in no time I started having a problem with the speaker. It simply doesn't work at all with Viber, Tango  and Rebtel. It works fine with direct calls but not with calls through these applications. I have contacted Tango and Rebtel in this respect but non could help. Is anyone experiencing such problem. is there a solution. Many thanks for your helo

    Thank you. Have given it a try - it sort of works, although doesn't turn up very loud!

  • Problem while migrating forms from 5 to 6i. Failed to load objects

    Do I need access to shcema that has all objects like tables, procedures, packages, views, etc.. used in forms during migration form 5 to 6i.
    I'm getting this problem.
    FRM-18108: Failed to load the following objects.

    Yes you can. Take a look at Upgrading from Pre-Forms 6i Applications to Oracle Forms 11g. This document is geared towards upgrading to Forms 11g, but in order to upgrade to Forms 11g you must first upgrade to Forms 10g. This document describes that process.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Problem with the Travel Expenses PDF Form

    Hi Experts,
    We are facing a strange issue in our production system that the Travel Expenses PDF form is coming as a blank pop up when users raise a Travel Expenses request or try to see the form in 'My trips and Expenses'.
    The strange thing is that it is happning for only 3 users in Production system only.We have confirmed that it is not a Desktop issue. We did not come across this earlier while 3500 users are using it for 9 months now.
    The same problem is not repeated in Dev, Qua or even in Production for any other user.
    The SAP Security team has also confirmed that all relevent authorisations have been given to effected users like other users for whom the same is working
    Kindly help me with the same if you have encountered the same problem or can suggest something that may rectify the problem.
    Help will be appreciated << Please do not offer points >>
    Regards,
    -Amol Gupta
    Edited by: Rob Burbank on Sep 21, 2010 2:38 PM

    Hi Siddharth,
    Thanks for the reply.
    We have checked that it is not a Desktop issue.
    Also SAP Security team says that the effected users have been given the regular authorisations as given to other users using the same functionality.
    As i mentioned it is not a problem with ADS as the same functionality is working fine for 3500 users for 9 months.
    Regards,
    -Amol Gupta

  • Problem with data format while getting data from BI

    Hi,
    I am trying to build a universe for the development of Web I reports, the data source on which I am trying to build the universe is from BI.
    There is date field in the data, which is loaded in to BI as a date, but while I am building the universe over the cube I am getting it as a character.
    When I am trying to use that field in the Web I reports, I have a problem sorting the date column.

    hi ,
    when you run the webi report , click change query and in that go to yourt field properties and then chage its settings to date.
    I think I have done this of similar kind lontg back. But there is this property somewhere where we can change the type of the varaible and then you can see the expected resutls.
    Thanks ,
    Anjna

  • Problem with java.util while migrating an app. from Apache to OC4J

    Hello.
    I have a application which runs fine under APache/Jserv . This
    application contains bunch of jsp's. In the jsp's even though
    there are no directives for import of java.util.* packages it
    still works fine. But under oc4j the same application does not
    work unless I modify the jsp to include java.util.* in the
    import directive. What am I missing here?.
    Thanks in advance.
    Prakash

    Hi,
    I think that Apache/Jserv does the inlcude of java.util.*
    automatically which OC4J dosen't.
    Thanks,
    Andy
    Hello.
    I have a application which runs fine under APache/Jserv . This
    application contains bunch of jsp's. In the jsp's even though
    there are no directives for import of java.util.* packages it
    still works fine. But under oc4j the same application does not
    work unless I modify the jsp to include java.util.* in the
    import directive. What am I missing here?.
    Thanks in advance.
    Prakash

  • Problem with the item (control) in forms 9i

    Hi,
    I want to know if it's normal that we have sometime (not regulary) some problems when a user by exemple use a form with la list item and make the selection of the value very rapidly, fill all the other parameters (radio items...) to call an update with multiline forms and try to go on the text item field he want to go and he can't because the mouse cursor seems to be "jammed".
    This problem is very rare but I want to know if this one is a control problem (to be fixed with an update of forms... or it's something that some PL/SQL code can start aleatory.
    Thanx in advance.

    I am sorry but I couldnot understand exactly what you want.
    Can you clear it and use small sentences instead of big ones.
    Thanks

  • Problem with web.xml, while migratig application from JBOSS 5.0 to JBOSS5.1

    Hi ,
    Earlier my application was running fine on JBOSS 5.0 .
    In that web.xml was like
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
         id="WebApp_ID" version="2.4">
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <!-- Timer Details -->
         <servlet>
              <servlet-name>perfMonCollector</servlet-name>
              <servlet-class>com.dbag.optimise.performancemonitor.timer.PerfMonitorCollector</servlet-class>
              <load-on-startup>4</load-on-startup>
              <init-param>
                   <param-name>cronExpr</param-name>
                   <param-value>0 0 0 */1 * ?</param-value>
                   <!--<param-value>0 */10 * * * ?</param-value> -->
              </init-param>
         </servlet>
         <servlet>
              <servlet-name>TransAnalysisCollector</servlet-name>
              <servlet-class>com.dbag.optimise.performancemonitor.timer.TransAnalysisCollector</servlet-class>
              <load-on-startup>3</load-on-startup>
              <init-param>
                   <param-name>cronExprTransAnalysis</param-name>
                   <param-value>*/30 * * * * ?</param-value>
              </init-param>
         </servlet>
         <!-- Timer Details -->
         <!-- PerfMonPoints Cache Generation on Server Startup -->
         <servlet>
              <servlet-name>perfMonGenerator</servlet-name>
              <servlet-class>com.dbag.optimise.performancemonitor.timer.PerfMonPointsGenerator</servlet-class>
              <load-on-startup>2</load-on-startup>
         </servlet>
         <!-- PerfMonPoints Cache Generation on Server Startup -->
         <!-- Standard Action Servlet Mapping -->
         <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
         </servlet-mapping>
         <!-- The Usual Welcome File List -->
         <welcome-file-list>
              <welcome-file>jsp/index.jsp</welcome-file>
         </welcome-file-list>
    But now i have deployed my application on JBOSS 5.1 GA version.
    Now its giving exception.
    Caused by:
    org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":run-as, "http://java.sun.com/xml/ns/javaee":security-role-ref}' is expected. @ vfsfile:/local/dubeavi/jboss-5.1.0.GA/server/default/deploy/PerformanceMonitoringISE-1.0/WEB-INF/web.xml[28,15]
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
    ... 41 more

    My new web.xml is like..
    <web-app
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         id="WebApp_ID"
         version="2.5">
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>

  • I have problems with the update of my 3gs from 4.2.1 to 4.3.3.

    can't I carry out the update of 2-4-1 on 3-4-3 about itunes. the fault name "timeout" comes after the download? how do I come to an update still?

    Check if its a 3gs first. See here
    http://support.apple.com/kb/ht3939
    If its a 3g ios 4.2.1 is the furthest ios it can go up to and cannot be updated.
    If it is a 3gs then you can update to ios 6.

  • Error with the view of a form

    Hi,
    I have a problem with the view of a form before start a workflow:
    This is the aspect that it has (it shows the colums of the form):
    and this is the aspect of the same action in other sites (the correct way):
    How can I change the aspect of the first form to the second? Why it shows this way with the parameters defined in the workflow?

    Hi Enrique,
    What form did you use?
    Was it a New from or an initiation form?
    How did you design the form?
    Please create a new list with the form, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Hi, After I installed Mac Lion, I have problem with the tamil font while typing in Neo Office. Especially with the letters "e-Ex: தெ" and "ai-Ex:தை". Please help me I know its not bug from Apple It shd be some problem in neo.

    Hi, After I installed Mac Lion, I have problem with the tamil font while typing in Neo Office. Especially with the letters "e-Ex: தெ" and "ai-Ex:தை". Please help me I know its not bug from Apple It shd be some problem in neo.

    Is your problem due to the keyboard or to NeoOffice Characters? You have to change probably the font. Not all fonts are supporting all Unicode sets. Which font you have in your NeoOffice set to write Tamil? Try with Arial Unicode MS for example.
    Are the letter e-Ex and ai-Ex right in your posting? If they are right, how you inserted these letters in your posting? By copy and paste or by typing? If by typing, your question is related to NeoOffice. Probably you should reinstall or update NeoOffice? Or switch to OpenOffice?
    marek

  • I am having trouble with my bluetooth skipping while its playing music from my Itunes music...I thought that this was an antiquated problem with the new technology?

    I am having trouble with the music from my bluetooth "skipping" on my IPhone 5.  I thought that this was an antiquated problem with the new technology.  It's very frustrating to purchase all of this music and expect great sound and playability and get "skipping".  Any ideas on how to resolve this issue?

    Does the issue occur when listening to the media using the speaker or wired headphones?  If it does, the issue is with the media itself.
    If it does not, it's likely a bad connection or interference.

  • Does anyone have problems with the lightening to USB cable when charging from an outlet? After 6  months of use, it seems to wear out as a result of twisting caused by using the iPad while charging?

    Does anyone else have problems with the lightening to USB cables, particularly the longer version, when using the iPad and charging at the same time?
    If so, am I doing anything wrong?

    Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
    Someone on this forum suggested, that USB3 may interfere with the magic mouse.
    I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
    Thanks for the advice, Bee
    Cheers, Gerd

Maybe you are looking for

  • How can I print an address card?

    Hi Folks, I've just discovered what seems like a ridiculous limitation of Address Book. I am having a hard time believing this is so, and am sure there must be a way to do this. I need to print out an address card, as it appears in the Address Book.

  • How to call standard planning function in FOX code

    Hi, I want to call std. Distribution by reference planning function in FOX formula. Through CALL FUNCTION std planning functions can not be used. My requirement is that because I need to execute this distribution function thousands of times with diff

  • How much price to replace iPhone ?

    I am using iPhone 4 since April 2012 ....my warranty ended in April 2013  .....I am facing problem with my lock button of d iPhone n even d home button is a bit loose ....my request is just to kno the estimate amount ....in INR(Indian currency) so. T

  • Using callStoredProcedure / callStoredFunction though a library/Class

    Jdev 11.1.1.3.0 I been using callStoreProdure /call StoreFunction as explained in fusion middleware guide http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvgen.htm#insertedID5. It works perfectly fine. As, i have to call the above met

  • Alternative ways to fire up a G4?

    The charger for my PB G4 broke inside the dc port. I have an old charger but neither now work, although initially they did. I've now taken the back off the g4 as detailed on the ifixit website but still no power. I need to access the files on the G4.