Error tabular form with validation

Hi everyone,
I have built a tabular form with the wizard and I every time a validation check is done and fails,
getting an error in the place where the tabular form should be. I get to see the tabular form again when pressing the cancel button or refreshing the page.
I'm not quite able to reproduce this error, but I was wondering if anyone knows of this error and a workaround for it.
The error that's displayed is: report error: User-Defined exception
using Apex version 4.1.1. I've already tried building a new tabular form, but that didn't seem to resolve the issue.
I would appreciate the help.
Kind regards,
Cleopatra

Possible solution?
Validation returns : no data found + unhandled user-defined exception
See post by user 794496 there.

Similar Messages

  • Apexlib tabular form with lov gining ora-00900

    Hi,
    When I add a tabular form with 3 items and chagne two of them to a LOV display item I get the following error:
    ORA-00900: invalid SQL statement
    Debug:
    1: begin
    2: ---------------------------------------------
    3: -- Get metadata of page
    4: ---------------------------------------------
    5: ApexLib_Page.generateBrowserData;
    6: ---------------------------------------------
    7: -- Get metadata of items and tabular forms.
    8: ---------------------------------------------
    9: ApexLib_Item.generateBrowserData;
    10: ApexLib_TabForm.generateBrowserData;
    11:
    12: ---------------------------------------------
    13: -- Send data for cascading lovs
    14: ---------------------------------------------
    15: ApexLib_Lov.generateBrowserData;
    16:
    17: ---------------------------------------------
    18: -- Send NLS data for date formats and numeric
    19: -- format masks and translated error messages
    20: ---------------------------------------------
    21: ApexLib_Browser.setNlsData;
    22: ApexLib_Browser.setApexLibMessages;
    23:
    24: ---------------------------------------------
    25: -- Active different navigation improvements
    26: ---------------------------------------------
    27: ApexLib_Browser.setLovIconsNonNavigable;
    28: ApexLib_Browser.setLRButtonIconsNonNavigable
    29: ( pLeftClassName => 'L'
    30: , pRightClassName => 'R'
    31: );
    32: ApexLib_Browser.checkForLovKey;
    33: ApexLib_Browser.checkForUpDownKey;
    34:
    35: ---------------------------------------------
    36: -- Active different UI improvements
    37: ---------------------------------------------
    38: /* optional
    39: ApexLib_Browser.setTextareaProperty
    40: ( pProperty => ApexLib_Browser.VERTICAL_RESIZEABLE
    41: );
    42: */
    43: ---------------------------------------------
    44: -- Init browser validation
    45: ---------------------------------------------
    46: ApexLib_Browser.initValidation
    47: ( pShowRequiredWarning => TRUE
    48: );
    49: ---------------------------------------------
    50: -- Has to be the last statement!
    51: ---------------------------------------------
    52: ApexLib_Browser.flushJsBuffer;
    53: end;
    Any idea?
    Erwin

    I solved it.
    I modified a bit my code "On load Page". In case of LOV i have changed this condition
    if (l == undefined) {
              document.wwv_flow.f03.disabled = true;
          }with this
    if (l == 105) {
              document.wwv_flow.f03.disabled = true;
          }I don't know why 105 instead of undefined, but this works. I give 105, with alert on length.

  • Tabular form with non base table field

    I want to develop a tabular form with
    1. A non-base table edit field to accept a value
    2. Insert/update another table based on the input value
    3. Also, computed field on each row based on other fields on the records (like post-query trigger in oracle forms at block level - for each row)
    Thanks,
    Rachna

    Thanks for your reply.
    Varad, I like the link you sent me. It has a lot of good information.
    I created a process (under page processing) called "Update/Insert Process" that dosn't seem to be working.
    Question, I created a manual tabular form with SQL Query and created a process (under page processing) called "Update/Insert Process", then I check for each record in the tabular form. If the old value <> new value then I update/insert in the new table.
    Any step by step will be highly apprciated - to create process/validation etc.
    Thanks,
    Rachna

  • Tabular form with select list not updating

    I have created a tabular form with a dynamic select list
    select primary_key, column1,
    htmldb_item.select_list_from_query(10,column2, 'select descr d, column_value r from lookup_table where column_value = '||column1) column2
    from main_table
    The select list appears to work correctly but the new value is not saved to the database. I assume this is because the tabular form element display as field for column2 is set to "standard report column" but when I select any of the "display as text" or "LOV" options either the current data is not displayed or errors are generated.
    Any suggestions?
    Thanks,
    Bob

    Hi Ian,
    As you have seen, sorting on the project_manager_id column will sort by the id value rather than the textual value. This is, of course, because this is the value in the field.
    I haven't tried this out, but one thing that may work is the fact that you don't have to include the ORDER BY fields within the SELECT statement. You could, for example, do:
    select p.project_number, p.project_manager_id
    from projects p, users u
    where p.project_manager_id = u.id (+)
    order by u.name
    Obviously, you won't be able to do this in the existing statement as you would then be blocked from using column sorting. However, it implies that if you could construct the SQL statement dynamically, appending appropriate ORDER BY strings to the end of the base select statement, you could sort by anything you like. This does, of course, mean that you would have to create a mechanism to allow the user to select the sort order, generate the appropriate string and reconstruct the entire sql statement.
    I had had a similar request quite a while ago. The underlying reason for that request turned out to be that the user just wanted to quickly locate records relating to one person. In the end, we agreed that a search filter was the best thing to do.
    Regards
    Andy

  • How to build a tabular form with a by the user insertable primary key

    I have build a build a tabular form with the wizzard. Wat should I do to make the primary key insertable by the user.
    When I change the PK from 'hidden' to 'text field', I get a checksum error when i am trying to insert.

    Fred: When you use the tabular form wizard, notice the help text on the right hand side of each page. The help page where you define the type of primary key (Existing trigger, PL/SQL function, existing sequence) clearly states
    Tabular forms do not support user entered primary key values
    Makes sense when you think about it. The MRU process needs to determine whether to update a record or insert a new record. It does that by comparing the checksums (and/or) pk values from when the page was first rendered and then when you make changes and submit it. Newly inserted rows will have a blank PK/checksum.
    If you allow user to change the PK, how will the system know which rows are new and which ones are old?
    For example, lets say you have
    create table t
    pk int primary key,
    data varchar2(10)
    )You have 2 rows
    1 red
    2 yellow
    If the PK were to be editable, user could go in and change the above to
    2 red
    1 yellow
    Now what? Would you like the system to create a new row with 1/yellow or change the existing pk=1 row to yellow? Same with the other row.
    Bottom line: The built-in processes dont support this. You can always write your own manual tabular form and implement whatever you logic you wish in your After Submit processes.
    Hope this helps.

  • Fatal error distributing forms with Adobe Acrobat 9 Pro

    Fatal error distributing forms with Adobe Acrobat 9 Pro.
    I click
    "Adobe Acrobat Pro/Formularer/Distribuer formularer/"
    ("Adobe Acrobat Pro/Forms/Distribute forms/")
    and chose a form for distribution and in the picture "Distribute Form" chose
    "Automatically download & organize responsees with Acrobat.com".
    I then click "Next" and write an email-address to send it to (i.g. to my own)
    and then click "Send".
    The program quickly writes
    "Authenticating email-addresses"
    and then gives the following error message
    "Borland Database er ikke installeret. Kan ikke indlæse tjenesteudbyder af Corel-adressekartotetek."
    ("Borland Database is not installed. Can not read load service provider of Corel address directory.")
    When I clik "OK" I get the error message
    "Adobe Acrobat has encountered a problem and needs to close. We are sorry for the inconvenience."
    I have undeleted and reinstalled Adobe Acrobat many times without any effect.
    The same procedure has been tried on another computer without any problem.
    What is my problem and how do I resolve it ?
    Operating System Windows XP
    Has worked may times before
    Same results with other files
    No recent system hardware or software change

    This is the image that I have plus....
    Reader 9.0 AcroRd32.exe caused Microsoft Visual C++ Runtime Library error
    Preinstalled Adobe 9 Standard doesn't work on a new Dell out of the box - why would it?
    Need help in creating a batch file that will add and remove some registy keys.
    %userprofile%

  • ADD ROW in tabular form with new max value for a certain field

    All,
    I have a tabular form with an 'ADD ROW'-button.
    When a row is added the field 'TemplateID' should get
    automatically a new value which is MAX from TEMPLATEID + 1.
    I would be very glad, if someone has a hint for me.
    Thanks in advance,
    lucio

    Hi
    the cause of not seeing the 'Default Item Field' is,
    that during creation of a 'Tabular Form' the column with the
    primary key doesn't get that feature, why so ever.
    I still hope that someone could give me a hint why that code isn't working:
    function SetNewID(vDBID)
    v_check = $v('P20_MAX_TEMPLATEID');
    pNd = $u_Carray(vDBID);
         for(var i=0;i<pNd.length;i++){
              var node = $x(pNd);
              node = $x_Check_For_Compound(pNd[i])
              var lTr = $x_UpTill(node,'TR');
    updateRow = lTr.rowIndex - 1;
    document.wwv_flow.f02[updateRow].value=$v(v_check)
    Many thanks in advance
    lucio                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Custom Tabular Form with working days by quarter

    Hi All, I'm trying to create an application to improve an old excel that some people use in my office. I came across a challenge: create a page when a user can submit for each business day the amount of hours worked, the real problem is that I have to show on the same page 40 business days that need to be dynamic, I mean that there is a "period" table that has a start date and end date, the range between those two MINUS the Saturdays and Sundays should be the amount of COLUMNS that the report show.
    create table CT_PERIOD(
    PERIOD_ID VARCHAR2(6),
    PERIOD_FY VARCHAR2(4),
    PERIOD_QUARTER VARCHAR2(1),
    PERIOD_START_DATE DATE,
    PERIOD_END_DATE DATE,
    PERIOD_DAY_COUNT NUMBER,
    insert into ct_period values ('1', 'FY14', 'Q1', to_date('01-JUN-2013', 'DD-MON-YYYY'), to_date('25-AUG-2013', 'DD-MON-YYYY'), 56);
    commit;
    I searched in the web for some example of this with no luck, if somebody did something like this or knows where I can see an example that would be great!
    Thanks!

    Hi guys,
    I'm having exactly the same problem, I need a tabular form with days as columns to add actual working hours for each day as for each row ( task)

  • Bug: 4.1.1 Tabular form with all columns conditional

    I need to make all the columns in a tabular form conditional because in some situations the editable elements should not be shown. For some reason just changing the columns to conditional stops the form working, the ApplyMRU/ApplyMRD process runs but does not action the changed rows. I can't figure out why at all or any workaround.
    You can easily reproduce this in 4.1.1 by creating a tabular form with the wizard selecting one column in the form. Then make the row selector colunn and your editable column conditional using the plsql expression 1=1. The form is displayed the just the same with these true conditions but it doesn't work. How weird is that?
    Rod West

    Rod,
    In your scenario the tabular form rendering engine is unable to place the hidden, internal tabular form status columns in your form, i.e. the columns that contain checksums, etc. The logic that places these columns looks for the last unconditional, visible column in your tabular form, and includes the hidden fields there. So you need at least one column that's always shown for this to work. This can be an otherwise empty column. I filed a bug (#13881803) for this, so we can look into improving this logic.
    Regards,
    Marc

  • Tabular form with onhover comment column

    Hi guys!
    I was wondering if anyone of you saw an example of onhover item help with query...I mean..lets imagine a tabular form with a text field Comment column. Comment column has width 50 but we all know that comment ale like to be long ;) I'd like to see full lenght comment every time I put my mouse pointer on a specific row. Is it possible ? If yes can you show me an example or point me in a good direciton...(I dont know javascript well..)
    With regards,
    PsmakR

    PsmakR,
    Yes it is possible. Currently the ShowPopup script displays the value of current cell (hv_item.value). You can just simply replace with whatever you like.
    If you're talking about the value of other columns, you may have to use document.wwv_flow.fXX to refer to it. Again, see my other sample of [Tabular Form Column Read-only|http://apex.oracle.com/pls/otn/f?p=57043:4] . Patrick Wolf wrote about this as well in his [ Which Tabular Form Column is mapped to which Apex_Application.g_fxx array|http://www.inside-oracle-apex.com/which-tabular-form-column-is-mapped-to-which-apex_applicationg_fxx-array/] .
    Ittichai

  • Error when creating tabular form with wizard Apex 4.01

    Hi,
    I just created a tabular form using the page creation wizard on a table and am showing 50 rows at a time and am getting error:
    mod_plsql: /pls/apex/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 2225 parameters. Upper limit is 2000
    It doesn't matter how much data I put in --even just a couple rows updated.  I also reduced rows to 20 and still get same message.
    Anyone else seen this error?
    Pat

    Hi Jari,
    It returns about 1100 records which i think is not much.
    But even when i narrow the amount of records the problem is not solved.
    it this a bug?
    Best
    Hugo

  • APEX 4.01 Tabular form with select list error

    When i create a tabular form and i add a select list(query based LOV) the form is not displayed but gives me the next error
    report error:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    somebody have an idea what is happening here
    is this still a bug in APEX 4.01?
    hope to have an answer soon.
    Hugo Perfors

    Hi Jari,
    It returns about 1100 records which i think is not much.
    But even when i narrow the amount of records the problem is not solved.
    it this a bug?
    Best
    Hugo

  • Tabular Form with Popup List Error

    hi,
    am using javascript to display Department Name when Deptno is changed in the Popup List
    am getting message from Popup Item (DEPTNO) (Htlm Form Element Attributes -> onchange="getDname(this); ")
    but am not getting message from popup Item in the Tabular Form ,
    am calling same javascript funtion in both the Popup Item(Column Attributes/Element Attributes->onchange="getDname(this); ")
    but am getting message from LOV item in the tabular form, am calling same function (Column Attributes/Element Attributes->onchange="getDname(this); ")
    u can check from the following URL:-
    http://apex.oracle.com/pls/apex/f?p=17935:12
    Username/Password : test/test
    Is there an setting i need to change in Popup Item in Tabular Form?

    Still nobody knows what the bug in Tabular Form
    CAN ANY ONE HELP ME ?

  • ORA-01446 Tabular Form with CONNECT BY LEVEL =2

    I created a tabular form where I would like the last 2 lines to be blank so the user can enter new rows immediately (e.g., the first time when no data is found).
    The following is the sql for the tabular form:
    select
    "ID",
    "REQ_ID",
    "QUANTITY",
    "FRAME_SIZE",
    "FRAME_TYPE",
    "PROTECTIVE_COVERING",
    "MATT",
    "MATT_COLOR"
    from "#OWNER#"."CREATIVE_SVC_DESIGN_FRAMING"
    union all
    select
    null id,
    null req_id,
    null quantity,
    null frame_size,
    null frame_type,
    null protective_covering,
    null matt,
    null matt_color
    from dual
    connect by level <= 2 I get the following error:
    failed to parse SQL query:
    ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
    The query is not accessing ROWID from a view at all. And, as you can see, it is not using a DISTINCT, GROUP BY, etc..
    My APEX is Application Express 4.0.2.00.07
    My Database is 10g (10.2.0.5.0)
    Please help!!
    Robert
    http://apexjscss.blogspot.com

    Robert,
    I wish I had a better explanation for you, but I know something new with 4.1 broke this union trick for tabular forms. I had to make a dynamic action that runs on page load and calls the addRow() javascript function instead. I think it has something to do with tabular form validation but I am not sure.
    Cheers,
    Tyson Jouglet

  • Tabular Form With Dates Is Driving Me Nuts!

    Hello,
    Still new to the world of APEX/HTML-DB, and I'm pulling my hair out with something right now.
    I have a tabular form that is updating a table. I'm pre-populating the date field with a default value of SYSDATE and it's 'Display as Text (Saves State'. It shows fine, but when I submit to the database all the other fields are input EXCEPT my date field which is always blank! The field in the database is set to NOT NULL, and it doesn't give me an error. Where is my date going!?
    The second problem I have is that SYSDATE is in GMT, and I need CST. How can I convert that? I used the to_char(current_date, 'DD-MM-YYYY HH24:MI') but it always gives me an error.
    Any help would be most appreciated, as this is the last thing I need to do to get my simple app up and running.

    Here is an example of my trigger...
    create or replace TRIGGER "bu_MY_ORDER_TABLE"
    before update on "MY_ORDER_TABLE"
    for each row
    begin
    :new.order_date := :old.order_date;
    end;
    -- order_date is a TIMESTAMP(6) set to default of sysdate at table level.
    :>) It works great for me... Bill

Maybe you are looking for

  • Can't create a custom installer ARD 3.6.1 + OSX 10.8.3

    Hi guys, I am new to ARD, and straight out of the gate I've got issues!! I can't create a custom installer, its giving me the following error: "An unexpected error occurred while creating a custom installer." I've done some searching and the only iss

  • Can't delete any of Apple's Software Windows Vista 32 bit

    Hi all, a while ago I tried to update iTunes because it could no longer recognize my iPhone. Everytime I tried too, my computer crashed within a minute. Now I tried to delete iTunes and the same thing happens. Then I tried to delete any of the other

  • How to add fields in fp03 Extenal Collection agency screen

    Hi All, As per our requirement, I need to add a check box and a date field in FP03 transaction - Extenal collection agency screen. I couldn't find any screen exit,BADI. Any one know how to add these two fields on the screen and save the values in DFK

  • Some email recipients do not see sent from when I send mail from thunderbird

    most email sent works fine, we have one customer we send to when they receive the email it does not show who sent the email. we are sending in plain text and the setup works fine everywhere else we send to.

  • Condition based text module

    Hi,   I need to print different text based on customer type. Can any body guide me how to use text modules for this. Regards, Venkat.