OnError in form: Error Unable to fetch row

Hello,
I'm trying to create such functionality, that in report "edit" link leads to form on another table. Everything is ok with rows, that exist in that table (i can edit them in form). But I want, that if row does not exist - the form should open the "Create record" window.
Now i get an error:
ORA-01403: no data found
Error Unable to fetch row.
Maybe some computation needs to be done for primary key?
Thanks.
Edited by: user11022609 on 2009.4.14 03.38

I requested for workspace in apex.oracle.com, but i solved the problem sooner. I created one more column ir report (using the unique column left join), which was the primary key of the other table and included it into EDIT link.
Edited by: user11022609 on 2009.4.14 06.12

Similar Messages

  • ORA-01403: no data found  .  Error Unable to fetch row

    Hi
    I have a form that, when inserting a new record, should submit the form but remain in the same page with the same info. I have set up the "after processing" branch (unconditional) to redirect to that specific page (page 5), the "reset pagination for this page" option selected and "clear cache" option empty. What happens is that, when inserting a new record, i get error ORA-01403 indicating that it's unable to fetch the record. Although i get this error, the new record is inserted in the DB... I have also selected option "Only when current value in session state is null" for source used for all fields of form. What am i doing wrong? I thank in advance all replies!

    Hi again
    Because you have a trigger on the table that selects the current max(ID)+1, when creating the form you should have used "Existing Trigger"when defining the source for the primary key, not "Existing Sequence". You should also change the trigger to use the sequence.NEXTVAL for the ID.
    When you created the form using "Exisitng Sequence", Apex would have created a "Get PK" process which gets the primary key value from the sequence before passing control to the DML process. You should delete the Get PK process and let the database trigger do it's job.
    In the DML process, set "Item Containing Primary Key Column Value" to the page item name e.g. "P5_ID", and set "Primary Key Column" to "ID" (the name of your table column).
    That should do the trick.
    Cheers
    Richard
    Message was edited by:
    Richard.

  • Unable to fetch row opening form on table

    Hi all,
    i have a page with 2 regions, a form on table for DML and a report region that lists the same table.
    I am trying to create records in the form and then recall them by report row link for changes.
    I cant test if all that stuff can work because i when i run the page after first time an Unable to fetch row error is raised.
    After that i have to logout and login and run the page again.
    I do my best to explain the problem but feel free to ask for more.
    Any kind of help or suggestions are welcome.
    Thanks, Alex

    Hi,
    yes this is the problem.
    When i run the page the first time it seem to work fine but after editing, just edit page and run again , the error is raised and the only way out is to logout apex.
    My expectation was that if i run the page setting the rowid item , that is the pk of the tabular form, the region appear with setting for insert.
    Greets.

  • Unable to fetch row...No data found

    Hello,
    After table being truncated, and new data set being inserted in that table, I'm getting the following error message 'no data found...unable to fetch row' . Data was getting fetched in the form by the primary key with the original data set in the table, but after truncate/insert, it is no longer working.
    Any idea why?
    Regards,
    hm

    hi
    dear u commit after inserting data or not do commit then check
    Rizwan
    www.rizwanshafiq.blogspot.com

  • Error Unable to fetch authentication_scheme (XE specific?)

    Was a bit disappointed to discover in ApEx on XE I can not define multiple oracle accounts and just swap these in the Edit Application Attributes/Parsing schema recently like I can on the non XE database, but never mind, I just create a new database account, build the database objects and then import an app export from the old schema - right?
    Wrong: I get the Error Unable to fetch authentication_scheme error and the parsing schema is correct. This is on an XP machine with version 2 of ApEx.
    I used the export and it went into the Oracle hosted site without any issues.
    Phil

    Scott
    Hope this helps. Much thanks in advance,
    Phil
    --=--=--
    SQL*Plus: Release 10.2.0.1.0 - Beta on Wed May 17 21:24:54 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta
    SQL> set numformat 999999999999999999999999999
    SQL> ---------- # 1 App ID 103
    SQL> select security_group_id,owner, authentication,
    2 custom_authentication_process from flows_020100.wwv_flows
    3 where id=103
    4 /
    SECURITY_GROUP_ID OWNER
    AUTHENTICATION
    CUSTOM_AUTHENTICATION_PROCESS
    698507975747714 HR
    CUSTOM2
    .1580108075227870.
    SQL>
    SQL> select id,name,security_group_id from
    2 flows_020100.wwv_flow_custom_auth_setups where flow_id=103
    3 /
    ID
    NAME
    SECURITY_GROUP_ID
    1580108075227870
    HTML DB
    698507975747714
    1580219849227870
    DATABASE
    698507975747714
    ID
    NAME
    SECURITY_GROUP_ID
    SQL>
    SQL> select short_name,provisioning_company_id from flows_020100.wwv_flow_companies;
    SHORT_NAME
    PROVISIONING_COMPANY_ID
    Unknown
    0
    INTERNAL
    10
    SYSTEM
    696210144731575
    SHORT_NAME
    PROVISIONING_COMPANY_ID
    HR
    698507975747714
    DEMO
    708308154793215
    M2
    1640709924346523
    SHORT_NAME
    PROVISIONING_COMPANY_ID
    SAFEX
    1655628274476335
    7 rows selected.
    SQL>
    SQL>
    SQL> ---------- # 2 App ID 106
    SQL>
    SQL> select security_group_id,owner, authentication, custom_authentication_process
    2 from flows_020100.wwv_flows where id=106
    3 /
    SECURITY_GROUP_ID OWNER
    AUTHENTICATION
    CUSTOM_AUTHENTICATION_PROCESS
    1655628274476335 SAFEX
    CUSTOM2
    .3266419425866274.
    SQL>
    SQL>
    SQL> select id,name,security_group_id from flows_020100.wwv_flow_custom_auth_setups
    2 where flow_id=106
    3 /
    no rows selected
    SQL>
    SQL>
    SQL> select short_name,provisioning_company_id from flows_020100.wwv_flow_companies;
    SHORT_NAME
    PROVISIONING_COMPANY_ID
    Unknown
    0
    INTERNAL
    10
    SYSTEM
    696210144731575
    SHORT_NAME
    PROVISIONING_COMPANY_ID
    HR
    698507975747714
    DEMO
    708308154793215
    M2
    1640709924346523
    SHORT_NAME
    PROVISIONING_COMPANY_ID
    SAFEX
    1655628274476335
    7 rows selected.
    SQL>

  • Error Unable to fetch authentication_scheme

    I have imported a HTMLDB application into a new workspace.
    When I try to run the application I get the error:
    Error Unable to fetch authentication_scheme in application 100
    I need to be able to use this application with other workspaces (the schemas are owned by different owners but are identical).
    Please help ... Thank you, Rick
    Here is the Debug information:
    0.01: S H O W: application="100" page="1" workspace="" request="" session="1302816591079752337"
    0.02: ...Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.02: alter session set nls_language="AMERICAN"
    0.02: alter session set nls_territory="AMERICA"
    0.02: ...Setting NLS Decimal separator="."
    0.02: ...Setting NLS Group separator=","
    0.02: ...Setting NLS date format="DD-MON-RR"
    0.02: NLS: Language=en-us
    0.02: Application 100, Authentication: CUSTOM2, Page Template: 5231931949198887
    0.02: Show ERROR page...
    0.02: Fetch session state from database

    I don't know what APEX is?
    What I have is one instance or SID called "smb"
    I installed htmldb there.
    I also have created 4 identical schemas there. (one for each of my developers)
    I have created 4 htmldb workspaces (one for each schema).
    I built the application (to edit some of the tables in the schema) in one of the workspaces.
    All I want to do is get the application into the other workspaces so that the other developers can use it.
    I used the export/import button at the application level to export the application:
    File Format: UNIX
    Owner Override: the schema of the new developer
    Build Status Override: Run and Build Application
    It created a file f114.sql
    I then logged in to htmldb in the new workspace of the schema for the new developer.
    I clicked on the "Create Application Button" then selected "From an Application Export File"; browsed for the exported file and opened it. This put its path in the Import File text box. I selected File Type: Application/Page Export.
    I got:
    The export file has been imported successfully. If you wish to use this file to install press Install:
    I pressed Install and got:
    Logged Into Workspace: KODIESMB1
    Export File WorkspaceID: 633628732993759
    Export File Application: 114
    Export File Version: 2004.07.04
    Export File Parse As Schema: KODIESMB1
    Application Origin: This application was exported from another workspace.
    Parse As Schema - Select Schema - KODIESMB1
    Build Status - No Build Option - Run Application Only Run and Build Application
    Install As Application Reuse Application ID 114 From Export File
    Auto Assign New Application ID
    Change Application ID
    I pressed "Install Application" and got:
    The application could not be installed because it already exists in different workspace. If you wish to install the application, please do the following:
    Remove the existing application from the workspace it currently exists in.
    OR
    Change the application ID in your export file. An application ID that's currently available you can use is 101.
    Upload the changed export file to the repository, and re-install your application.
    It took me to the repository ... I selected the import and changed the ID to 101 and pressed install and got:
    Application 101 installed
    I pressed the Run button and got:
    Error Unable to fetch authentication_scheme in application 101.
    OK
    I pressed OK and it took me back to the Post-App Install Utility Option.
    I do not know what to do since I don't understand the Error?
    Thanks,
    Rick

  • Error Unable to process row of table

    Hello,
    I am getting this error message when I try to submit my application. Error Unable to process row of table ORA-06550: line 1, column 52: PL/SQL: ORA-01741: illegal zero-length identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored. How can I resolve this problem? Any help is appreciated
    Thanks,
    Hank

    I have the same kinf od problem, but I did not create pl/sql code.
    IS ther any way I can check the used insert? Maybe I can find the problem.....

  • Error Unable to fetch authentication_scheme in application 134.

    Hi,
    I got the following error while migrating one of my application from one workspace to another in the same APEX (2.2) instance but the schemas are different in both cases.
    "Error Unable to fetch authentication_scheme in application 134."
    Here are the more detailed information:
    1) I have a workspace 'SUM_DEMO' under schema 'DEM_DEV'
    2) Created a new workspace 'MUD_DEV'. Also, created a new schema 'MUD_DEV' in the process of creating this workspace. I had choosen 'New Schema' rather than 'use existing schema' and created this new schema.
    3) Developed an application 'TestPrinter' in workspace 'SUM_DEMO'.
    4) Export this application using Export functionality of Apex.
    below are the some of the parameters that I have selected during export.
         Owner Override : MUD_DEV
         File Format: DOS
    5) Import this application in workspace 'MUD_DEV' that is under different schema 'DEM_DEV'.
    below are the some of the parameters that I have selected during import.
         Parse as Schema: MUD_DEV
         Auto Assign New Application ID
    6) getting this error:
         "Error Unable to fetch authentication_scheme in application 134."
    though application 'TestPrinter' doesn't has any authentication !!
    For more information, I am pasting the debug information from the page.
    0.00:
    0.00: S H O W: application="138" page="1" workspace="" request="" session="1938540460984835"
    0.00: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-gb
    0.00: alter session set nls_language="ENGLISH"
    0.00: alter session set nls_territory="UNITED KINGDOM"
    0.00: NLS: CSV charset=WE8MSWIN1252
    0.00: ...NLS: Set Decimal separator="."
    0.00: ...NLS: Set NLS Group separator=","
    0.00: ...NLS: Set date format="DD-MON-RR"
    0.00: ...Setting session time_zone to dbtimezone
    0.00: NLS: Language=en-gb
    0.01: Application 138, Authentication: CUSTOM2, Page Template: 10291226255067961
    0.01: Show ERROR page...
    0.01: Performing rollback...
    0.01: Fetch session state from database
    0.01: Processing point: AFTER_ERROR_HEADER
    ORA-0000: normal, successful completion
    Error Unable to fetch authentication_scheme in application 138.
    OK
    0.01: Processing point: BEFORE_ERROR_FOOTER
    0.01: ...Determine if user "DEV" workspace "5389124302818204" can develop application "138" in workspace "5389124302818204"
    Please suggest me some way to get rid of it.
    Thanks,
    Sumit

    Sumit,
    5) Import this application in workspace 'MUD_DEV' that is under different schema 'DEM_DEV'.I don't understand "under different schema 'DEM_DEV' ". How many schemas are assigned to workspace MUD_DEV and what are those schema names?
    What do you want the parsing schema of the application to be in the MUD_DEV workspace?
    Scott

  • Form Error 40507: unable to fetch next query record

    Hi there folks,
    I have a Form (10g) where I have a Master Block and a Detail block. However, the other day, there was an Error reported:
    ORACLE error: unable to fetch next query record
    When we do capture Errors, we also capture the Last Query run. From that, it says that the last record that was queried was in the Detail block (Which is multi-record block) in tabular form. I looked at the Error Message but there is not much information on this Error.
    So, it's just a base table block and it has a drop down list which has two values. Any ideas what could have happened?
    Thanks!

    The Block is based on a a table. As a mattr of fact, there are 3 blocks in the form and they are all based on tables. Now, it migth be wrong for me to assume that the detail block in the one that caused the problem just because the Last Query was based on the detail block.
    Block 1 is a single record block -- Master Block
    Block 2 is a tabular block -- Detail Block
    Block 3 is a tabular block -- Detail Block
    There are two relations:
    Block 1 and Block 2
    Block 1 and Block 3

  • Fetch Row process error in form called from report

    I have an interactive report that calls a form (when user hits the edit link on a row). The form is using a fetch row process (Automatic Row Processing). The problem I have is if a user tries to hit the edit link on a row that was already deleted, I get the 'No Data Found' error. I got around it by adding a condition (exists) to the fetch row process, but that just retirns a blank recor din the form. I wanted to either make a nice error (with a validation) etc. Anybody run into this?

    Bob,
    The easiest thing to do would be to have the page with the interactive report submit the page and you could use a validation on that page to run the check before redirecting the user to the form with a branch. To do this, however, as the interactive report only has "link" options, you'll need to use a little javascript in the query...
    Example:
    SELECT id,
    '<span onclick="doSubmit(''' || id || ''')">Edit</span>' AS edit
    FROM TABLERegards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    Edited by: dmcghan on Dec 18, 2008 3:02 PM

  • Form apply changes results in Unable to fetch custom authentication functio

    created a simple form/report application using the wizard and no modification of any kind and I can do everything except apply changes to any field on form screen -
    got the following error:
    Unable to fetch custom authentication function body in application - HTTP 500 Internal Server Error
    any ideas??
    Thanks.

    I am using data base account.
    more info:
    the table I am working with is an existing table with large number of columns. to simplify testing I created the following table as a select from original table:
    CREATE TABLE APPS.FGS_TEMP_2
    TASK_ID NUMBER(15) NOT NULL,
    PROJECT_ID NUMBER(15),
    TASK_NUMBER VARCHAR2(25 BYTE) NOT NULL
    CREATE UNIQUE INDEX APPS.FGS_TEMP_2_IDX1 ON APPS.FGS_TEMP_2
    (TASK_ID)
    LOGGING
    ALTER TABLE APPS.FGS_TEMP_2 ADD (
    CONSTRAINT FGS_TEMP_2_CON
    PRIMARY KEY
    (TASK_ID)
    USING INDEX APPS.FGS_TEMP_2_IDX1);
    and again used wizard to create a simple tabular form to view and edit - now I am able to edit and apply changes to PROJECT_ID , TASK_NUMBER but not TASK_ID ?? which I guess is a different problem.
    here is the table I am trying to create the form for to edit and add - this is an existing table with few thousands rows.
    CREATE TABLE HED.EDD_CPR_EMP
    EDD_CPR_ID NUMBER NOT NULL,
    UNIQUE_PAYROLL_ID VARCHAR2(10 BYTE) NOT NULL,
    CPR_PERSON_ID NUMBER,
    LEGACY_PAYROLL VARCHAR2(7 BYTE),
    GEN_LEGACY_PAYROLL_FLAG VARCHAR2(1 BYTE),
    LOGIN_ID VARCHAR2(7 BYTE),
    BEMS_ID VARCHAR2(10 BYTE),
    STD_USER_ID VARCHAR2(10 BYTE),
    STD_UNIX_ID VARCHAR2(10 BYTE),
    CMS_PERSON_ID NUMBER,
    PERSON_TITLE VARCHAR2(10 BYTE),
    FIRST_NAME VARCHAR2(30 BYTE),
    MIDDLE_INITIAL VARCHAR2(1 BYTE),
    LAST_NAME VARCHAR2(40 BYTE),
    SUFFIX VARCHAR2(10 BYTE),
    EXT_FULL_NAME VARCHAR2(80 BYTE),
    KNOWN_AS VARCHAR2(30 BYTE),
    ORIGINAL_HIRE_DATE DATE,
    BENEFIT_DATE DATE,
    LAST_HIRE_DATE DATE,
    HIRE_CODE VARCHAR2(30 BYTE),
    HIRE_CODE_DESC VARCHAR2(30 BYTE),
    TERMINATION_DATE DATE,
    TERMINATION_REASON_CODE VARCHAR2(3 BYTE),
    TERMINATION_REASON_DESC VARCHAR2(30 BYTE),
    LAST_DAY_WORKED DATE,
    BADGE_EXPIRATION_DATE DATE,
    ACCT_BUSINESS_UNIT VARCHAR2(2 BYTE),
    ACCT_LOCATION VARCHAR2(2 BYTE),
    ACCT_DEPARTMENT VARCHAR2(4 BYTE),
    ACCT_BUSINESS_UNIT_DESC VARCHAR2(30 BYTE),
    ACCT_LOCATION_DESC VARCHAR2(30 BYTE),
    ACCT_DEPARTMENT_DESC VARCHAR2(30 BYTE),
    HR_DEPARTMENT VARCHAR2(10 BYTE),
    HR_ORG_LEVEL_CODE VARCHAR2(15 BYTE),
    HR_ORG_STRUCTURE_CODE VARCHAR2(12 BYTE),
    HR_ORG_FUNCTION_CODE VARCHAR2(2 BYTE),
    HR_DEPARTMENT_DESC VARCHAR2(30 BYTE),
    HR_ORG_LEVEL_DESC VARCHAR2(30 BYTE),
    HR_ORG_STRUCTURE_DESC VARCHAR2(51 BYTE),
    HR_ORG_FUNCTION_DESC VARCHAR2(30 BYTE),
    HR_PARENT_DEPARTMENT VARCHAR2(10 BYTE),
    US_PERSON_STATUS VARCHAR2(30 BYTE),
    SHIFT VARCHAR2(1 BYTE),
    SCHEDULED_WORK_WEEK_HOURS VARCHAR2(3 BYTE),
    PART_TIME_CODE VARCHAR2(1 BYTE),
    EXPLICIT_EMAIL_ADDRESS VARCHAR2(240 BYTE),
    STABLE_EMAIL_ADDRESS VARCHAR2(240 BYTE),
    URL_ADDRESS VARCHAR2(240 BYTE),
    PERSON_STATUS_CODE VARCHAR2(1 BYTE),
    PERSON_STATUS_DESC VARCHAR2(12 BYTE),
    PERSON_TYPE_CODE VARCHAR2(1 BYTE),
    PERSON_TYPE_DESC VARCHAR2(16 BYTE),
    HRMS_STATUS_CODE VARCHAR2(1 BYTE),
    HRMS_STATUS_DESC VARCHAR2(30 BYTE),
    MANAGER_BEMS_ID VARCHAR2(10 BYTE),
    MANAGER_NAME VARCHAR2(85 BYTE),
    SJC_OCCUPATION_CODE VARCHAR2(2 BYTE),
    SJC_JOB_FAMILY_CODE VARCHAR2(2 BYTE),
    SJC_FLSA_CODE VARCHAR2(1 BYTE),
    SJC_LEVEL_CODE VARCHAR2(1 BYTE),
    SJC_SMC_CODE VARCHAR2(3 BYTE),
    EEO1_CAT_CODE VARCHAR2(1 BYTE),
    SJC_OCCUPATION_DESC VARCHAR2(25 BYTE),
    SJC_JOB_FAMILY_DESC VARCHAR2(25 BYTE),
    SJC_FLSA_DESC VARCHAR2(30 BYTE),
    SJC_SMC_DESC VARCHAR2(25 BYTE),
    EEO1_CAT_DESC VARCHAR2(25 BYTE),
    HOURLY_JOB_CODE VARCHAR2(5 BYTE),
    JOB_TITLE VARCHAR2(60 BYTE),
    HOURLY_GRADE VARCHAR2(2 BYTE),
    HOURLY_UNION_CODE VARCHAR2(20 BYTE),
    HOURLY_UNION_DESC VARCHAR2(60 BYTE),
    DIRECT_INDIRECT_CODE VARCHAR2(1 BYTE),
    MANAGEMENT_LEVEL_CODE VARCHAR2(1 BYTE),
    MANAGEMENT_LEVEL_DESC VARCHAR2(30 BYTE),
    TEMPORARY_ASSIGNMENT_CODE VARCHAR2(1 BYTE),
    WORK_SCHEDULE_CODE VARCHAR2(30 BYTE),
    ROLE_TYPE VARCHAR2(1 BYTE),
    ROLE_DESCRIPTION VARCHAR2(13 BYTE),
    PERSON_CREATION_DATE DATE,
    PERSON_LAST_UPDATE_DATE DATE,
    LOCATION1_BUILDING_NUMBER VARCHAR2(6 BYTE),
    LOCATION1_FLOOR_NUMBER VARCHAR2(6 BYTE),
    LOCATION1_ROOM_NUMBER VARCHAR2(6 BYTE),
    LOCATION1_STREET_ADDRESS1 VARCHAR2(60 BYTE),
    LOCATION1_STREET_ADDRESS2 VARCHAR2(60 BYTE),
    LOCATION1_STREET_ADDRESS3 VARCHAR2(60 BYTE),
    LOCATION1_CITY VARCHAR2(30 BYTE),
    LOCATION1_STATE VARCHAR2(2 BYTE),
    LOCATION1_POSTAL_CODE VARCHAR2(30 BYTE),
    LOCATION1_COUNTRY VARCHAR2(70 BYTE),
    LOCATION1_LAST_UPDATE_DATE DATE,
    LOCATION2_BUILDING_NUMBER VARCHAR2(6 BYTE),
    LOCATION2_FLOOR_NUMBER VARCHAR2(6 BYTE),
    LOCATION2_ROOM_NUMBER VARCHAR2(6 BYTE),
    LOCATION2_STREET_ADDRESS1 VARCHAR2(60 BYTE),
    LOCATION2_STREET_ADDRESS2 VARCHAR2(60 BYTE),
    LOCATION2_STREET_ADDRESS3 VARCHAR2(60 BYTE),
    LOCATION2_CITY VARCHAR2(30 BYTE),
    LOCATION2_STATE VARCHAR2(2 BYTE),
    LOCATION2_POSTAL_CODE VARCHAR2(30 BYTE),
    LOCATION2_COUNTRY VARCHAR2(70 BYTE),
    LOCATION2_LAST_UPDATE_DATE DATE,
    MAIL1_SITE_CODE VARCHAR2(3 BYTE),
    MAIL1_STATION VARCHAR2(10 BYTE),
    MAIL1_LAST_UPDATE_DATE DATE,
    MAIL2_SITE_CODE VARCHAR2(3 BYTE),
    MAIL2_STATION VARCHAR2(10 BYTE),
    MAIL2_LAST_UPDATE_DATE DATE,
    WORK_PHONE1 VARCHAR2(20 BYTE),
    WORK_PHONE1_LAST_UPDATE_DATE DATE,
    WORK_PHONE2 VARCHAR2(20 BYTE),
    WORK_PHONE2_LAST_UPDATE_DATE DATE,
    CELLULAR1 VARCHAR2(20 BYTE),
    CELLULAR1_LAST_UPDATE_DATE DATE,
    CELLULAR2 VARCHAR2(20 BYTE),
    CELLULAR2_LAST_UPDATE_DATE DATE,
    PAGER1 VARCHAR2(20 BYTE),
    PAGER1_PIN VARCHAR2(30 BYTE),
    PAGER1_LAST_UPDATE_DATE DATE,
    PAGER2 VARCHAR2(20 BYTE),
    PAGER2_PIN VARCHAR2(30 BYTE),
    PAGER2_LAST_UPDATE_DATE DATE,
    PAGER3 VARCHAR2(20 BYTE),
    PAGER3_PIN VARCHAR2(30 BYTE),
    PAGER3_LAST_UPDATE_DATE DATE,
    FAX VARCHAR2(20 BYTE),
    FAX_LAST_UPDATE_DATE DATE,
    CREATED_BY NUMBER,
    CREATION_DATE DATE,
    LAST_UPDATED_BY NUMBER,
    LAST_UPDATE_DATE DATE,
    REQUEST_ID NUMBER(15),
    PROGRAM_APPLICATION_ID NUMBER(15),
    PROGRAM_ID NUMBER(15),
    PROGRAM_UPDATE_DATE DATE,
    LAST_UPDATE_LOGIN NUMBER,
    WIN2K_CREATED_BY VARCHAR2(25 BYTE),
    WIN2K_UPDATED_BY VARCHAR2(25 BYTE),
    L3_EMP_ID VARCHAR2(9 BYTE),
    MANAGER_CPR_ID NUMBER,
    SALARY_JOB_CODE VARCHAR2(10 BYTE),
    JOB_FLSA VARCHAR2(10 BYTE),
    BADGE_NUMBER VARCHAR2(50 BYTE)
    Thanks for the help.

  • Error while importing EJB model in Web dynpro: Unable to fetch the EJBs.

    Hi,
    We are getting the below error while importing ejb model to Web dynpro.
    Error :
    Unable to fetch the EJBs. Check if the selected Enterprise Application contain the EJBs.
    I have created the public part-> It has a reference to EJB client and the enterprise application also has reference to the EJB project.The EJB is also added in dependency list.
    But still we are getting this error. Could anyone please explain what can i do to solve this issue.
    Best Regards,
    Karthika

    Hi Vishweshwara,
    Thanks for your reply.
    Please find the steps i followed while importing EJB model in webdynpro.
    1. The Entity forwarding permission has been enabled.
    2. public part reference has been created and through the reference entity option the ejbDC->Client public part is selected.
    I followed all the steps mentioned in the document. But still i am getting that error. In EJB DC we have list of JPA entities and stateless session beans are exposed as a webservice(top-down manner).The enterprise application has a reference to the EJB DC.
    I could be able to invoke the ejb service beans from ejb explorer and Webservice navigator.
    I am able to insert,delete and modify the records from there.
    Please let me know what could i do to resolve this error?
    Best Regards,
    Karthika
    Edited by: SAKarthika on Apr 29, 2011 1:43 PM

  • Unable to insert row into table.

    hi all,
    here i am using oracle apex 3.2.0.0.0.27 version.
    i am unable to insert a row in the database table.when i press a save button i get an error is
    0.07:
    0.08: S H O W: application="132" page="4" workspace="" request="" session="3286250612369434"
    0.14: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.15: alter session set nls_language="AMERICAN"
    0.16: alter session set nls_territory="AMERICA"
    0.16: NLS: CSV charset=WE8MSWIN1252
    0.16: ...NLS: Set Decimal separator="."
    0.16: ...NLS: Set NLS Group separator=","
    0.16: ...NLS: Set date format="DD-MON-RR"
    0.17: ...Setting session time_zone to +05:30
    0.17: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM
    0.18: ...NLS: Set date format="DD-MON-YYYY HH:MIPM"
    0.19: NLS: Language=en-us
    0.21: Application 132, Authentication: CUSTOM2, Page Template: 102166708405540699
    0.27: ...Session ID 3286250612369434 can be used
    0.27: ...Application session: 3286250612369434, user=COMP
    0.28: ...Determine if user "COMP" workspace "16032411264866286" can develop application "132" in workspace "16032411264866286"
    0.29: ...Check for session expiration:
    0.31: Session: Fetch session header information
    0.33: ...Metadata: Fetch page attributes for application 132, page 4
    0.34: Fetch session state from database
    0.38: Branch point: BEFORE_HEADER
    0.39: Fetch application meta data
    0.49: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY HH:MIPM
    0.49: ...NLS: Set date format="DD-MON-YYYY HH:MIPM"
    0.49: Computation point: BEFORE_HEADER
    0.49: Processing point: BEFORE_HEADER
    0.49: ...Process "Row_fetch": DML_FETCH_ROW (BEFORE_HEADER) F|#OWNER#:PC_MASTER:P4_PC_ID:PC_ID
    0.73: Show ERROR page...
    0.73: Performing rollback...
    0.79: Processing point: AFTER_ERROR_HEADER
    ORA-06550: line 1, column 17: PL/SQL: ORA-00936: missing expression ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
         Error      UNABLE TO FETCH
    OK      
    please anyone can help me to come out this problem.
    thanks
    regards,
    tipan

    Hi Tipan,
    This error isn't due to you pressing save, it occurs when the page reloads because you are trying to fetch a record from a database table and the Primary Key APEX Page Item field doesn't have a value in it. You need to add a condition to your fetch so it only runs when the primary key page item has a value in it.
    Hope this helps
    Paul

  • Database, Dataset, Table Adaptors Error "Unable to load, Update requires a valid DeleteCommand when passed DataRow collection with deleted row"

    Microsoft Visual Basic 2010 Express.
    I am new to Visual Basic programing and i am trying to understand the relationships between Datasets, database, table Adaptors. I have to following code that is is giving me the following error" Unable to load, Update requires a valid DeleteCommand
    when passed DataRow collection with deleted rows". 
    I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    It seems that i can delete the data on the DataGridView Table and it only displays the correct data. but my database is not updating, even though the data grid displays differently.I can determine this because, when i save the offset database, i have all
    the previous uploads and all the rows that i wanted to delete are still there.
    My final goal is to be able to import offset data from a CSV file, save this data on the pc, send a copy of this data to a NuermicUpDown so the customer can modify certain numbers. From here they download all the date to a controller.  IF the customer
    needs to modify the imported data, they can go to a tab with a data grid view and modify the table. They will also have to option to save the modified data into a csv file.  
    Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    CODE:
    Private Function LoadOffSetData()
            Dim LoadOffsetDialog As New OpenFileDialog 'create a new open file dialog and setup its parameters
            LoadOffsetDialog.DefaultExt = "csv"
            LoadOffsetDialog.Filter = "csv|*.csv"
            LoadOffsetDialog.Title = "Load Offset Data"
            LoadOffsetDialog.FileName = "RollCoaterOffset.csv"
            If LoadOffsetDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then  'show the dialog and if the result is ok then
                Try
                    Dim myStream As New System.IO.StreamReader(LoadOffsetDialog.OpenFile) 'try to open the file with a stream reader
                    If (myStream IsNot Nothing) Then 'if the file is valid
                        For Each oldRow As MaterionOffsetDataSet.OffsetTableRow In MaterionOffsetDataSet.OffsetTable.Rows
                            oldRow.Delete()                       
    'delete all of the existing rows
                        Next
                        'OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        Dim rowvalue As String
                        Dim cellvalue(25) As String
                        'Reading CSV file content
                        While myStream.Peek() <> -1
                            Dim NRow As MaterionOffsetDataSet.OffsetTableRow
                            rowvalue = myStream.ReadLine()
                            cellvalue = rowvalue.Split(","c) 'check what is ur separator
                            NRow = MaterionOffsetDataSet.OffsetTable.Rows.Add(cellvalue)
                            Me.OffsetTableTableAdapter.Update(NRow)
                        End While
                        Me.OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)
                        MainOffset.Value = OffsetTableTableAdapter.MainOffsetValue          'saves all the table offsets
    to the offset numericUpDown registers in the main window
                        StationOffset01.Value = OffsetTableTableAdapter.Station01Value
                        StationOffset02.Value = OffsetTableTableAdapter.Station02Value
                       myStream.Close() 'close the stream
                        Return True
                    Else 'if we were not able to open the file then
                        MsgBox("Unable to load, check file name and location") 'let the operator know that the file wasn't able to open
                        Return False
                    End If
                Catch ex As Exception
                    MsgBox("Unable to load, " + ex.Message)
                    Return False
                End Try
            Else
                Return False
            End If
        End Function

    Hello SaulMTZ,
    >>I can track the error and its located in "OffsetTableTableAdapter.Update(MaterionOffsetDataSet.OffsetTable)" code. What am i missing?
    This error usually shows that you do not initialize the
    DeleteCommand object, you could check this
    article to see if you get a workaround.
    >> Im not sure if i am making this overcomplicated or if there is a easier way to program this.
    If you are working CSV file, you could use OleDB to read it which would treat the CSV file as a Table:
    http://www.codeproject.com/Articles/27802/Using-OleDb-to-Import-Text-Files-tab-CSV-custom
    which seems to be easier (in my opinion).
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 'SELECT_LIST_FROM_LOV' giving error if LOV fetches 47 rows

    Hi All,
    We are using 'SELECT_LIST_FROM_LOV' function to create dynamic items in a tabular form. It works fine when LOV fetches < = 47 rows but is giving 'buffer overflow error' if it fetches more!
    Any help/suggestions would be appreciated.
    APEX Version : 2.2.1
    Regards,
    Hari

    Did you try it first? I know the issue and ran into the exact same one and this is how to change it. Calling that function just returns a string to Apex and the buffer is only so big for LOV's. If you need more than 47 rows in your case, you need the _XL function.
    You are correct that it returns a CLOB, but its returning that to Apex, not to your process so to speak. It will handle it correctly in its internal API's.
    Try it and if it doesn't work we can figure it out but give it a shot!

Maybe you are looking for

  • JSP is not getting displayed in add portlet repositery

    Hi, I have registered two servlet in provider.xml and I was able to view that servlet as a portlet in add portlet repositery. After that I wanted to add one more JSP as portlet under same provider. So I have kept JSP in same directory where servlet i

  • Form language for dunning

    I use the copy of F150_DUNN_01 for dunning printout. Is there any variable I can use to determine the language of the form? I believe it's coming from the communication language of the customer, so I could get in a PERFORM myself, but I'm sure it's a

  • FlowLayout in JPanels, and Container

    I set the FlowLayout alignment to RIGHT justify on my Container. I also want to control individual FlowLayouts in JPanels that are added to the Container. I want some panels to be center, and others LEFT or LEADING alignments, etc. So far everything

  • Stupid questions about keeping important calls on the FX application thread

    I'm working on a project that I've been developing for about the last 6 months. I'm using JavaFX as the graphical side, but I'm taking input from a music processing program called Max/MSP, and I'm getting user input from a camera. Both of these thing

  • How to delete archivelogs ???????

    Dear Experts, I am looking for a way to delete archive logs through RMAN's backup command, something like this: BACKUP ARCHIVELOG all delete input until time 'sysdate-5/24'; We are on Oracle 10g Release 2 (10.2.0.3), IBM - AIX 5.3. I would like to re