#error in formula row of the form sum([1])/2

Greetings!
I have a necessity to use formula row in some forms to get an aggregated value of rows above, sometimes i have to use sum([1])/2 and this results me into a problem: in cells where formula is not valid (all values in specific column are blanks) it shows #error instead of values.
Question is, how to avoid that? like in excel for example =IF(A1="";"";A1/2)
Thanks in advance.

Version is 11g
I've found 2 ways how to avoid #errors, not elegant, but working properly.
#error shows in formula cells if the LAST argument of function returns #error and others are #missing
1st way) You can use expression of the from 0 + sum([1])/2 and it would return "0" in formula cell
2nd way) You can use an expression of the from sum([1])/2 + sum([2]). NOTE that sum([2]) + sum([1])/2 would return an error if sum([2]) returns a #missing value, if swap arguments formula would return #missing value and it would give us an empty cell
IF you do not have any other rows, which summary would give you #missing, here is a trick sum([1])/2 + sum([1]) - sum([1]), first sum returns an #error (#missing/2), second returns #missing, third returns #missing and you will have #missing in formula cell as result
Question about formula, i need to sum row[1] values of [C:E] columns, is there any way to indiate a range like that in sum() function?

Similar Messages

  • How to delete empty table row in the form using formcalc

    Hi All,
    I am displaying a table in PDF which has a few empty rows in between.  I need to delete those specific rows when the form is generated, so that they do not appear on the form.
    Has anyone worked on this before? If so, can you please share the code or advise.
    Regards
    Aditi

    Hello,
    first: there MUST be same backend you get the data from right? So in this backend there is some data extraction coding, right? So the result of this coding is bad, like some unwanted extra rows are returned in the proper set of rows, right? So why don´t you change this backend coding not to return the unwanted rows?
    IF that is not possible (I don´t believe this!), but just to describe other possibilities, you can place a script on the row subform event like initialize and test if there is something missing there and if so, set the presence of such a row to hidden.
    JS: If (this.fieldA.rowValue == "") { this.presence = "hidden"; }
    Regards, Otto

  • Sharepoint 2010, InfoPath 2010 with Custom Workflow. Error Message: InfoPath cannot submit the form. An error occured while form was submitted...

    I have created an InfoPath form that submits to a Sharepoint library with custom workflow attached. The workflow is initiated when the user submits the form. An email is sent to the supervisor who clicks the "Encoded Absolute URL" and approved
    the form via the emailed form. Then, based on certain criteria the form is either emailed to the VP or the workflow is complete. The VP is sent an email and clicks the "Encoded Absolute URL" and sumbits the form via the emailed form. This is
    how I would like it to work. The reality is, the form submits and is emailed to the supervisor and the supervisor is able to approve but when the form is sumbitted I get an error. The error is "InfoPath cannot submit the form. An error occured while
    this form was being submitted. The form cannot be submitted to the following location: <URL> The file <URL> is checked out for editing by <me> The operation completed successfully." The operation did not complete successfully and it
    is not checked out. I have read in previous posts that the file is locked. Since I am in the testing faze of the project there is no one else using the form. I have waited 24 hours and the lock has not been released. Please help!!! My deadline is growing short.

    I ran into your post while having a similar issue.  I don't have a 'full' fix for you, but I noticed at least in our case if you made sure you opened the Infopath form through the browser instead of the client Infopath program (use the drop-down menu
    and open in browser) the error doesn't occur.  Hope that helps some....

  • How to add/delete rows on the form without saving data

    I am new to apex
    I am working on project and need some help on creating a form
    my requirment is to save a request that has multiple questions.
    i have a request form with multiple regions
    On one of the region that takes questions, I want to create a tabular form such that i can add/delete/update row without hitting database and enter multiple questions
    each row is one question.
    Apex has the default functionality of having a tabular form linked to a table that onload shows the data from that table and also on click of add or delete hits the data base to save the data.
    However i want to load a form that does not show any data if its a new request and click of add/delete should not update the databse. It should just add/delete a row on the form
    so user logs in and can create a request that has multiple questions
    finally want to submit the form and save all the information of the form in multiple tables.
    As of now i a m able to have a simple form and a process that save 1 question per request.
    How do i achieve this. Please assist.

    Do that using collections like in this example:
    http://apex.oracle.com/pls/otn/f?p=31517:176
    Once you are done, you may decide either to save that or to clean it up.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • How to add 2 rows in the form layout?

    In the detail page,form layout only one row pick up from database and it displays please anyone have idea about how to display 2 rows or 3 rows in a page?
    how to add 2 rows in the form layout?
    It's very urgent
    Thanks in advance

    No. You can only achieve this with smart custom templates. Here is sample code which will display multiple employees in form layout:
    <af:forEach items="#{bindings.EmployeesTable.rangeSet}" var="row">
    <af:panelForm rows="1" maxColumns="2" width="10%" id="RegionsFormItems">
    <af:inputText id="EmployeesEmployeeId" value="#{row.LastName}" label="EmployeeId" .... />
    <af:selectInputDate id="EmployeesHireDate" value="#{row.HireDate}" label="HireDate" ...... >
    <af:convertDateTime pattern="#{nls.datepattern}"/>
    </af:selectInputDate>
    </af:panelForm>
    </af:forEach>
    Steven Davelaar,
    JHeadstart Team.

  • Page not found error when deleting row in multirow form

    I have a tabular form and when I try to delete one or more rows from the tabular section, I get the confirmation box pop-up window and then this error:
    "The requested URL /apex/wwv_flow.accept was not found on this server"
    I checked other postings and found instructions to generate a trace so here is what I think shows the error :
    wwv_flow.accept(P_FLOW_ID=>:P_FLOW_ID,P_FLOW_STEP_ID=>:P_FLOW_STEP_ID,P_INSTANCE=>:P_INSTANCE,P_PAGE_SUBMISSION_ID=>:P_PAGE_SUBMISSION_ID,P_REQUEST=>:P_REQUEST,P_ARG_NAMES=>:P_ARG_NAMES,P_T01=>:P_T01,P_T02=>:P_T02,P_T03=>:P_T03,P_T05=>:P_T05,P_T06=>:P_T06,P_T07=>:P_T07,P_T08=>:P_T08,P_T09=>:P_T09,F04=>:F04,F05=>:F05,F08=>F08,F06=>:F06,F07=>:F07,F02=>:F02,F03=>:F03,FCS=>:FCS,F01=>:F01,P_MD5_CHECKSUM=>:P_MD5_CHECKSUM);
    if (wpg_docload.is_file_download) then
    rc__ := 1;
    wpg_docload.get_download_file(:doc_info);
    null;
    null;
    null;
    commit;
    else
    rc__ := 0;
    null;
    null;
    null;
    commit;
    owa.get_page(:data__,:ndata__);
    end if;
    end if;
    :rc__ := rc__;
    :db_proc_time__ := dbms_utility.get_time - start_time__;
    end;
    Embedded PL/SQL Gateway: /apex/wwv_flow.accept HTTP-404 ORA-06550: line 6, column 44:
    PLS-00103: Encountered the symbol "WITH" when expecting one of the following:
    := . ( @ % ; not null range default character
    Embedded PL/SQL Gateway: (wpu.c,626) longjumping back to the beginning
    Embedded PL/SQL Gateway: (wpu.c,488) cleaning up before longjmp
    Embedded PL/SQL Gateway: (wpu.c,492) doing a rollback
    Embedded PL/SQL Gateway: (wpcs.c, 76) Executed 'rollback' (rc=0)
    Any ideas why this is happening?
    Thanks

    I kept looking into the trace file and a before the text in the initial posting I found this:
    Embedded PL/SQL Gateway: (wppr.c,1021) lcase(procname): wwv_flow.accept
    Embedded PL/SQL Gateway: (wppr.c,1302) The CALL block: len=2881, bind_count=37
    declare
    rc__ number;
    start_time__ binary_integer;
    simple_list__ owa_util.vc_arr;
    complex_list__ owa_util.vc_arr;
    F08 FLOWS_030000.WWV_FLOW_GLOBAL.VC_ARR2t with the difference of 11 months apart.^M
    2 For some of them calculate the AWT that includeFLOWS_030000.WWV_FLOW_GLOBAL.VC_ARR2tas setup.^M
    For some of them include the AWt monotribuista code to be calculated.^M
    3. Some oFLOWS_030000.WWV_FLOW_GLOBAL.VC_ARR2led.^M
    The error says "ORA-06550: line 6, column 44: PLS-00103: Encountered the symbol "WITH" "
    so it points to the following line in the code:
    "F08 FLOWS_030000.WWV_FLOW_GLOBAL.VC_ARR2t with the difference of 11 months apart.^M"
    So... can anyone give me a clue why the code is built this way (looks like the variable definition is truncated)
    Thanks in advance for your help!

  • Getting error while deleting rows from the database using the View Object

    Hi All,
    I am using jdev 11.1.1.4.0. I am removing the rows from the database using viewobject( quering the viewobject to find the records i want to delete).
    I am using vo.removeCurrentRow(0). Before this statement I am able to get the rows I want to delete.
    after that i am doing am.transaction.commit(). But I am getting the error..
    javax.faces.el.EvaluationException: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for CriteriaEO
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for CriteriaEO
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1117)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8134)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5863)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6369)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6551)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3275)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3078)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2088)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2369)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 53 more
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:869)
    Please give suggestions...
    Thanks
    Kanika

    Hi,
    First Run Application module and confirm whether model project is OK,Cause for the Error is Caused by: java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long
    check:
    Issues with table/column name length
    identifier is too long
    I guess following error occurred because above issue
    JBO-26080: DMLException
    Cause: An unexpected exception occurred while executing the SQL to fetch data for an entity instance or lock it.
    Action: Fix the cause for the SQLException in the details of this exception.
    See:
    http://download.oracle.com/docs/cd/A97337_01/ias102_otn/buslog.102/bc4j/jboerrormessages.html#26080Hope you will helpful

  • Getting Error FRM 92050 while opening the forms in R12 with IE

    Hi DBAs,
    I am able to open up forms using Firefox but when I try to open up the form with IE 7 or 8 getting message FRM 92050 : Failed to connect to the server. Can you please help me what setting I need to perform in order to user R12.1.1 with IE.
    Thanks
    -Samar-

    Samar,
    Please post the complete error message (from the application.log file). And, verify that you use a certified client OS/Browser as per (Note: 389422.1 - Recommended Browsers for Oracle E-Business Suite Release 12 (Customer Recommended)).
    Also, see if these documents are applicable.
    Note: 780781.1 - FRM-92050: connect server failed: /forms/lservet:-1 On Widows Clients Having ZoneAlarm Pro Firewall
    Note: 470890.1 - FRM-92050: Failed to connect to Server: /forms/lservlet:-1
    Regards,
    Hussein

  • Not a valid date - error in Web dynpro hosting the form

    Dear Experts,
    I have an interactive form embedded in an ABAP WebDynpro screen. It has a date field which is filled by the user.
    This field has been working perfectly fine except for one user. Whenever he tries to enter a date and validate (round trip to backend) he gets a 'DD.MM.YYYY is not  a valid date format' error (i.e. '15.02.2011 is not a valid date format').
    Since this is a user specific error, I am unable to debug. When I tried debugging with his login, this error could be intercepted as this is an error thrown by the framework itself because of incompatible types(I think).
    I am using all 3 patterns (validation, edit and display)as DD.MM.YYYY. it is working fine for everyone else, including me!!!!!!
    It is not a system/version issue as we both tried on a  neutral system and it worked for me but not for him.
    Does anybody have an idea as to how this is possible? Any solution for this issue?
    I am baffled, to say the least.
    Regards, Amith
    Edited by: Amith Menezes on Feb 15, 2011 3:47 PM

    Hello there,
    I just found a solution to this problem.
    The crux of this issue was that the 'Binding Pattern' of the date field in the form did not match the Date format of the user's 'Own Data'. For now, I requested the user to change to the frmat maintained in the form and it all worked well..
    But this leads me to a new question.
    How can we make sure that the binding pattern always matches any user's own data!
    Is there a way this can be achieved??
    Regards,
    Amith
    Edited by: Amith Menezes on Feb 16, 2011 1:35 PM

  • Conversion error removes entered values in the form

    I have like 10 blocks of data in my jsf page. In my 7th block my date field gives a conversion error, then some of the fields entered above 7th block are removed and some of them after 7th block.
    why this happens??

    Hi John,
    Once I click the save button in the form, it is going to disable mode in that form only. When I open another form I able to use the save button. If I open the previous form, I am able to see the save button again. When I click the save button at that time only it is going to disable mode. This is happening for all forms.
    And there is no folder like services in the given path \Hyperion\logs\services\HyS9Planning-sysout.log.
    I rebooted the server, even the problem was not fixed.
    Thanks & Regards,
    Sravan Kumar.

  • Error: when trying to open the forms...

    Hello all,
    I have an issue. I logged into the e-business suite with my login and pwd and even chose my responsibility but when am clicking on the functions in the browser am not getting the forms....
    the error is
    load: class oracle/apps/fnd/formsClient/FormsLauncher.class not found.
    I have checked in the services.msc but found everything ok. Pls help me resolve the issue.
    thanks in advance,
    madhav

    You would get this error if there is incorrect proxy exceptions in your browser settings.
    Please do the following:
    1. Launch a browser window.
    2. Go to Connection Settings for the Browser
    3. Select the Proxy exception list, the list of sites you have specified, for which no proxy is required
    4. Verify/Validate all entries in this list.
    5. For eg., you will need to add an entry like *.oracle.com instead of oracle.com to exclude all sites having oracle.com in the domain name
    6. Save the changes.
    7. Login and access the Applications forms in a new browser window.

  • Error deleting a row from the JHeadstart generated page

    Hi I am trying to learn JHeadstart. I have a small country table and I am creating maintenance screens for the same. I used JHeadstart to generate the default pages for me, but when I try deleting a row/record, I get JBO-27101 error. How do I resolve this issue. Which components do I have to modify?

    I don't think this has something to do with JHeadstart. The error means you are trying to access an entity object after it has been removed.
    Could the error be related to your audit logic ?
    Do you have a form- or a table layout ?
    Can you send me the whole stacktrace of the error ?
    I recommend cleaning up business components layer and try again.
    Jaco

  • Adobe Error- when trying to display the form in english login

    Hi,
    I have made few changes in the adobe form in italian login (since that was its original language)
    it is working fine in italian login while generating an error in  english login.The error is shown below-
    "ADS: Request start time: Tue Sep 15 06:37:50 GMT+01:00(200101)"
    Please let me know what could have gone wrong.
    Edited by: kottip on Sep 15, 2009 7:55 AM

    I figured a way around this in case anyone has the same problem in the future. I just opened Acrobat Pro X, clicked combine files into PDF, selected the file I wanted, saved the "binder" as PDF then saved another version as Reader Extended PDF. I think this helped because it essentially creaded a whole new PDF with the old PDF in it and getting rid of whater hashes or document properties in the last one that wouldn't allow it to work in Reader. Opens perfectly on other computers.

  • How to display the comma separeated values in a row in the form of coulmns?

    Hi,
    I have a table as shown below.
    Table name: Projs
    Project_Id Associates_List
    proj1 2,3,4,5
    proj2 2,5,1
    We are looking at moving this data into a normalized format as shown below.
    Project_Id Associates_List
    proj1 2
    proj1 3
    proj1 4
    proj1 5
    proj2 2
    proj2 5
    proj2 1
    How can we achieve this?
    If anybody knows, please provide the soultion.

    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 'proj1' as proj_id, '2,3,4,5' as asoc_list from dual union all
      2             select 'proj2', '2,5,1' from dual)
      3  -- END OF TEST DATA
      4  select proj_id, asoc
      5  from (
      6        select proj_id
      7              ,regexp_substr(asoc_list, '[^,]+', 1, rn) as asoc
      8        from   t
      9              ,(select rownum rn
    10                from dual
    11                connect by rownum <= (select max(length(regexp_replace(asoc_list,'[^,]')))+1
    12                                      from t
    13                                     )
    14               ) x
    15       )
    16  where asoc is not null
    17* order by 1, 2
    SQL> /
    PROJ_ ASOC
    proj1 2
    proj1 3
    proj1 4
    proj1 5
    proj2 1
    proj2 2
    proj2 5
    7 rows selected.
    SQL>Edited by: BluShadow on Oct 29, 2009 3:09 PM
    reworded a.s.s. so that profanity checker doesn't complain.

  • Adobe form from webdynpro : Getting a single row in the table

    Hello,
    I have a scenario in which I have to create a adobeform from webdynpro application.
    I have created the form and have the context designed in place.
    I am facing a problem in the table I have in my adobeform.
    I am adding rows to this table dynamically using a button using "addInstance"
    Now on the webdynpro side , when I try to read this table I get a single row from this table.
    This row is always the first row of that table.
    I checked the following things from blog   /people/juergen.hauser2/blog/2006/09/12/avoiding-common-mistakes-when-using-tables-on-sap-interactive-forms  , i.e. :
    Cardinality of the node.
    Tick on the option "Repeat Row for Each Data Item".
    But still no success.
    With deadlines to catch I had to post this question after trying a lot.Please help.

    Hello Otto,
    I had found this link before and used the same solution , but unfortunately is taking a long time.
    Now what I am doing is :
    1. I append 10 rows into the table then bind it to the node
    2. Then on the adobe form I have removed the check on "Add row for each line item" because of which it shows only 1 row 
         on the form.
         Now I add rows dynamically, but this puts a limit on the number of rows can be added to the table i.e. 10.
    But this again has added problems like while displaying the form or modifying I hav to handle it seperately and cannot use the same form as it is.( as I have removed the tick for "Add row for each line item" ).
    Thanks,
    Omkar Mirvankar

Maybe you are looking for

  • When I try to open Twitter on a new tab, the tab closes and nothing happens. It works for IE and every other website.

    It doesn't even open, and the new tab just closes. I don't know what happened, it was working fine just a little bit ago.

  • Error when build cube - A duplicate attribute key has been found when processing...

    Hi all, I got an error "Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table-" when built new cube. It looks strange in my case. I created a small example to re-produce this error as below: I create a dat

  • Ms 6758 Oc

    I am running the MS 6758---875P Neo FIS2R P4 2.4c Kingston HyperX DDR 434  KHX3500AK2/1G  ---Matched 512meg/1 gig Can someone give me some OC tips? I want to run this as highend as I can for awhile, before moving to a 3. ? processor. If I can get the

  • Report on (Month to Date)

    Hi All, Hope there should be some real good experts here. I have been posting in this forum for the past one week to get a solution for my requirement, but unfortunately I have not found any. I have referred to some documents and have created a singl

  • Writing arrays to spreadsheet w/ timestamp

    Hi. I'm trying to build an application which will write a set of thermocouple values to a spreadsheet with a timestamp at the beginning of each row. What I have so far is a countdown loop which gives me regular intervals of time. When the loop reache